Reflection in v3.6

Software: Away3D 3.x

ArcadeRenegade, Newbie
Posted: 25 March 2012 05:13 AM   Total Posts: 4

Hey guys,

I was about to use Tony Lukasavage’s tutorial on how to do reflection using Away3D. It’s a simple script which takes the DisplayObject of the view and creates a new bitmap with a flipped Y and adds a gradient mask.

Then I discovered the ReflectivePlane primative. And I’ve seen several examples and demos on how to use it; however, I cannot seem to get it to work in my v3.6 script. I heard ReflectivePlane has some initialization issues as when I test my flash the view is up for one frame then Away3D just crashes and all is left is a blank canvas.

Anyone have any suggestions on how I can do a simple reflection in v3.6 with falloff?

I’m considering using Tony’s method by putting the reflection bitmaps on planes in the scene but the problem is you cannot get the DisplayObject of a specific Object3D or ObjectContainer3D… only using the session of the view.
(ex. var drawn:DisplayObject = view.session.getContainer(view);)

thanks in advance.

   

ArcadeRenegade, Newbie
Posted: 25 March 2012 05:29 AM   Total Posts: 4   [ # 1 ]

alternatively I could switch to 3.5 to get reflectiveplane to work >.<

does it work in broomstick?

   

ArcadeRenegade, Newbie
Posted: 25 March 2012 09:25 PM   Total Posts: 4   [ # 2 ]

shameless self-bump

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X