> Is there some possible way to use an OrderGroup to enforce the rendering
order?
Good idea, but in fact OrderedGroup does not solve anything here since it
does basically nothing on the rendering
order. For instance if java3d engine would decide to reorder the drawing of
your nodes for efficiency raison, it would not be
done if inside an OrderedGroup.
The problem appears when two objects rotate one around the other : e.g. moon
and earth (assuming of course they are textured with a picture containing
some transparency). you would (or will actually) see always the moon in
front of the
earth, in spite of the relative sizes are correct.
Practically, you can't decently implement billboard trees as a rectangle
with a transparent picture of a tree mapped on it
as you would see always the same trees in front of the others even if you
trun around your trees!!.
But I guess that as java3d team claimed you can use java3D for gaming, I
should have a way to acheive the correct rendering ;^)
Maybe if the transparency color set to zero would not send the object in the
transparency rendering phase ... ?
Because conceptually, an object with a transparent texture is not the same
thing as a transparent object
with a texture ;^)
renaud
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/