Well, I downloaded and installed Java 3D 1.2.1 Beta and tried a simple transparncy test. Transparency has never worked correctly, and it seems that **it STILL does not work!!**
And this is *the* problem I had hoped would be fixed. It is critical to my apps.
Here's a description of what I am experiencing.
I have a Cube. (My own cube, not the util cube.) If you connect all face diagonals, you defined 2 interecting Tetrahedra. So, in my app, I also define these 2 tetrahedra. All 3 objects have solid appearances, different instances of my "solidPolyhedron" appearance. The Transparency is set to use TransparencyAttributes.NICEST.
The cube is Blue. One tetrahedron is red. The other is green.
When I set the cube trancparency to 0.5f, the Green tetrahedron disappears. The red Tetrahedron can be seen but shows no indication that another tetrahedron is intersecting it.
I then set the Green tetrahedron to be a different shade of red. Still the 2nd red tetrahedron does not show up.
I tried other things and sometimes it seems to work and other times it doesn't.
It seems to have something to do with the order I do things (changing the transparency value, turning the display of each polyhedron "on/off" (through a Switch for each polyhedron, etc.). I can't, yet, explain the pattern to all this, but it seems that the new transparency value doesn't always take effect.
I did something (order of turning the polyhedra on and off, changing color, etc. Not code changes) and I got it to display the 2 solid tetrahedra inside the 0.5f transparency cube. Then I set the transparency of one of the tetrahedron also to 0.5f. I thought I'd then see one part of tetra1 (0.0f transp.) inside tetra2 (0.5f) inside the cube(0.5f). This didn't happen. Both Tetrahedra in the cube still looked solid. Then I turned off the cube. Both Tetrahedra still look solid. I should have seen one of the tetra intersection areas through the other tetrahedron.
So, for me, Transparency still doesn't work. And it looks like its going to be very hard to figure out what the problem is because sometimes it seems to work and other times, when you think you did the same thing, it doesn't work at all.
Have others seen similar problems with transparency yet??
Bob Gray
-----Original Message-----
From: Dan Petersen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 8:17 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Java 3D 1.2.1 Beta 1 Now Available
Java 3D 1.2.1 Beta 1 is now available through the JDC:
http://developer.java.sun.com/developer/earlyAccess/java3D/
We encourage everyone to download this beta and try it out with your app.
For any bugs found, please be sure to follow our bug reporting guidelines:
http://developer.java.sun.com/developer/earlyAccess/java3D/java3d-bug-report.html
Dan Petersen
Java 3D Team
Sun Microsystems
===========================================================================
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".