Hello
> We have some problems with Java3D (1.1 and 1.1.1) concerning z-buffering
> and transparant objects. As soon as two transparant objects are placed
> partly behind each other the z-buffer does not work correctly and the
> objects are rendered in the wrong order. Is this a known bug?
I already mentionned that a few weeks ago without any answers. It's because
as soon as you set a transparency attribute (with 0 as transparency value)
the
related geometry is drawn in a second pass using the z-buffer in read-only
mode.
That's way you are able to correctly draw a transparent sphere INSIDE
another
transparent sphere (which is not possible otherwize, i.e. using fully the
z-buffer).
If you do not want this feature, you can set :
view.setDepthBufferFreezeTransparent(false);
assuming view is a ... View.
This is really annoying when you want to make billboards whith partially
transparent texture AND objects inside transparent objects at the same time.
hope this help
renaud
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/