[Papervision3D] Blurring a primitive?
David Di Biase
david at mozzly.com
Thu May 22 08:12:05 PDT 2008
Hi there,
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:
http://www.mozzly.com/p1/j3d2.swf
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][3], 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
org.papervision3d.objects.primitives:Plane.
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
itself?
Help is greatly, greatly appreciated. Sorry for my newb-ness.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080522/1335c80a/attachment.html
More information about the Papervision3D
mailing list