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 Sprite3D( tekstas_material );
imageLoader = null;
tekstas.x = dangtis.x - 40;
tekstas.y = dangtis.y + 20;
tekstas.z = dangtis.z + 10;
tekstas.scaling = 0.15;
view.scene.addSprite( tekstas );