[Papervision3D] Filter trouble.
Jeff W.
info at jeffwinder.nl
Tue Jun 9 07:49:11 PDT 2009
Hi Kris,
are you using a BitmapEffectLayer? If so, the eighth parameter defines
whether to clear the screen before each render. Setting it to true shouldn't
leave a trail:
bitmapEffectLayer = new
BitmapEffectLayer(viewport,viewport.width,viewport.height,true,0,BitmapClearMode.CLEAR_PRE,false,true);
Btw, you don't have to use a BitmapEffectLayer for a generic Flash filter.
You can simply put the plane to a layer for instance with
plane.useOwnContainer = true;
and then add a filter, for instance:
plane.filters = [new GlowFilter(0x000000,1,5,5,10,3)];
hope this helps,
Jeff.
kristrygg wrote:
>
> Hello,
>
> I've just successfully put a blur filter on a layer afffect, and added one
> of my planes to the blur filter effects layer, in turn added to the main
> layer.
>
> When the object moves, the blur filter appears to leave a slowly
> disapating trail. Any idea's why this might happen. I have tried
> numerous ways of applying the filter but they all do the same thing.
>
> Further more, setting the glow filter below 4 results in trails that do
> not disappear at all.
>
> Anyone have any idea what this is or shall i start posting code?
>
> thanks,
>
> kris
>
--
View this message in context: http://www.nabble.com/Filter-trouble.-tp23927367p23944417.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list