[Papervision3D] Blurring a primitive?
David Di Biase
david at mozzly.com
Thu May 22 08:12:05 PDT 2008
I'm trying to find a way to blur a primitive. I'm new to PV3D and just
created my first application yesterday, this was the result:
These are basically gift cards I've made rotate in a flow like app. The
cards will enter on the left (new dynamically loaded cards). I'd like to
start blurring the farthest planes. I learned that I can do this by blurring
the image itself, but that would mean that when I want to unblur it (as it
comes closer) I'd have to somehow adjust the FileMaterial-level blur.
I thought I found a tutorial that let me add a blur directly to the plain
itself...here is my script: http://www.mozzly.com/p1/JumpCards3d.as
You can see I've done this:
blurFilter = new BlurFilter(cardList[i], 5, BitmapFilterQuality.HIGH);
cardPlane.container.filters = blurFilter;
But I keep receiving an error: 1119: Access of possibly undefined property
container through a reference with static type
Does this mean I can't blur the primitive or have I made a much more silly
mistake? If so how can I make it easy to adjust the blur on the FileMaterial
Help is greatly, greatly appreciated. Sorry for my newb-ness.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D