Sprite3D which is always on top

Software: Away3D 3.x

Toidas, Newbie
Posted: 28 July 2011 12:06 PM   Total Posts: 5

I want for a Sprite3D object to be always visible. However, I am unable to find a tutorial, documentation or anything on this topic. Could anyone help me?
I’ll give you the details. All the objects in the scene have ownCanvas set to true. That’s the only way I’ve found to avoid serious Z-sorting problems (CORRECT_Z_ORDER is too computationally expensive). Is there any way out of the problem? Do I need to set ownCanvas to false and look for other solutions? The flash movie might be accessed here: http://tadas.asmeninis.com/teravil/flash/example The c.ode which initializes the Sprite3D object I’m talking about:

tekstas_material = new BitmapFileMaterial"sample_area.jpg" ); 
tekstas = new Sprite3Dtekstas_material ); 
imageLoader null
tekstas.dangtis.40
tekstas.dangtis.20
tekstas.dangtis.10
tekstas.scaling 0.15
view.scene.addSpritetekstas ); 
   

Stephen Hopkins, Sr. Member
Posted: 01 August 2011 09:08 AM   Total Posts: 110   [ # 1 ]

Try changing the screenZOffset of all your object3Ds to be behind the sprite. Sprite3D used to be an Object3D and had ownCanvas, but I guess it was changed.

 Signature 

http://www-scf.usc.edu/~shopkins

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X