> I believe this was already briefly discussed in the list, but I was > unable to find a solution mentioned. Yes I already mentionned that problem but had no answer :-( > This works fine when I initially set up the scene- however, as soon as > the user begins toggling the transparency of the photograph (and I set > the transparencyAttribute of the photograph), the transparent GIFs get It's because as soon as you put a transparency attribute (even with a transparency value set to zero), your object is drawn in a second rendering phase which use the z-buffer in read-only mode. (a classical method to have a "correct" rendering for transparent objects). So if all your objects have a transparent attribute, they will be always drawn in the same order, regardless any z-info). You could try to change the order of specifying your objects. But although it's tricky, the optimisation scheme of Java3D may change *your* ordering (unless you use an OrderedGroup object). I am afraid there is actually no solution to that problem. I would love to have an answer about that issue from sun people, since it is an important issue (at least for me ;^)) cheers renaud ===================================================================== To subscribe/unsubscribe, send mail to [EMAIL PROTECTED] Java 3D Home Page: http://java.sun.com/products/java-media/3D/
RE: [java3d] Transparent GIFs and Transparency Attributes
CAZOULAT Renaud CNET/DIH/REN Mon, 15 Feb 1999 05:32:05 -0500
- [java3d] Transparent GIFs and Transparency At... Duncan Cavens
- Re: [java3d] Transparent GIFs and Transp... CAZOULAT Renaud CNET/DIH/REN
- Re: [java3d] Transparent GIFs and Transp... Travis Bryson
