>Date: Tue, 24 Aug 1999 11:47:09 -0400
>From: Bob Gray <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Major Problem
>To: [EMAIL PROTECTED]
>Here is the code example to be put in 3 files. Sorry its so big. I don't
>yet understand Java 3D enough to know exactly how to cut it done further.
[snip]
> TransparencyAttributes TA = new
>TransparencyAttributes(TransparencyAttributes.NICEST, 0.0f);
> A.setTransparencyAttributes(TA);
The problem is that you are using transparency, which turns off
Z-buffer writes by default. You can control this behavior with the
View.setDepthBufferFreezeTransparent() method. Better still, don't
enable transparency for those objects that are not transparent (i.e.,
transparency value is 0.0).
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".