The outputs looks right. Please rotate the scenegraph such that the ball and the cylinder overlay from you point of view. Then you will see one them looks transparent! Sorry for any confusing in the previous explanation.
Thanks Mingtian On Mon, 28 Oct 2002, Alejandro Allievi wrote: > Your program compiles only if I remove the line > import com.sun.j3d.utils.*, > > Including objRoot.compile() both ball and arm > are visible, the output and your code are attached. > > Alejandro > > -----Original Message----- > From: Discussion list for Java 3D API > [mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of Mingtian Ni > Sent: Monday, October 28, 2002 8:58 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Again on "Geometry looks transparent" > > > Hi all, > To continue with this talk, I wrote a j3d program which is much simpler > than the > previous "J3DAxis.java". I attached the program "BallCylinder.java" with > this email. It compiles and runs directly. As its name says, this program > creates a ball and cylinder. Also OrbitBehavior is added for convenience. > When I played with it, I found 2 interesting phenomina: > 1. The ouput was different when compiled with jdk1.4 or jdk1.3. > 2. If I compiled the scenegraph, the cylinder looked transparent. If I > don't compile, the ball looked transparent. > > I strongly suspect that it is a java3d bug. I hope I am wrong. > > Thanks. > > > Mingtian > > > =========================================================================== 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".
