Well, I think I can help with a Xith3d question - for the very first time. :-)
Basically the same question I've asked some days ago, but unfortunately I've hidden it in another poster's thread, so it's hardly noticeable.
Please have a look at here:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1067981426;start=15The exact technical details have been revealed by Yuri in the linked thread. However, because the topic really fits better to your new thread here, please let me quote Yuri's two main articles:
Well, some points on alpha blending.
There is no bug in this functionality, but this is a bit incompatible with Java3D. I just committed new test - Xith3DTransparencyAlphaTestLight.java - to CVS.
You should use setColorTarget(...) on your material to get transparency working in some (most) cases. The reason for this is that Java3D-style material accepts 3-component colors only, so for now material shader sets alpha to opaque. If you specify color target, appropriate material color will be replaced with color from coloring attributes/vertex colors/transparency attributes.
This is still not clear of what to do with this incompatibility, and I personally prefer to go to more advanced Material that will support different front/back materials and 2-sided lighing model, as well as more sophisticated light control.
From Java3D docs:
In Xith3D, if no vertex colors present, the color combined from ColoringAttributes and TransparencyAttributes used as a vertex color and set to be same for all vertices.
Also note that default color target in Java3D is DIFFUSE and in Xith3D is NONE.
Yuri
P.S. There is also JavaDoc comments for this method/constants in Xith3D Material.java