BloomFilter3D won’t work

Software: Away3D 4.x

clunetta, Newbie
Posted: 25 April 2012 10:11 PM   Total Posts: 9

Hello all

I’ve downloaded the latest away3D 4 beta;
For testing purposes, I’ve installed the file
“Getting started with Away3D”
from the Adobe site (http://download.macromedia.com/pub/developer/flashplayer/GettingStartedWithAway3D.zip) - the link is featured at the Away3D tutorials.

If I try to enable the BloomFilter3D (just importing it and adding with standard settings at _view.filters3d = [new BloomFilter3D()]

Error: stage3DProxy key cannot be null!
at away3d.core.managers::RTTBufferManager$/getInstance()[

Any hints of what I can do?

Thanks!

   

Limouse-Lee, Newbie
Posted: 26 April 2012 02:34 AM   Total Posts: 10   [ # 1 ]

you must add the _view to stage first.

if you enable the filter before add to stage, you will get that error.

this.addChild(_view);
this.addEventListener(Event.ENTER_FRAMEonEnterFrame);
_view.filter3D [new BloomFilter3D()]
   

clunetta, Newbie
Posted: 26 April 2012 02:53 PM   Total Posts: 9   [ # 2 ]

That’s awesome! It works now. Thanks!

   

Vice, Member
Posted: 27 April 2012 04:15 PM   Total Posts: 58   [ # 3 ]

some Filters effect materials. so when i use blur, some textures are very dark - near black. does anyone know how to prevent that?

thanks!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X