Something like Java2D's AlphaComposite for scenegraphs?

Hi there,

I am asking myself ob there’s an elegant way to do something like the AlphaComposite does for Java2D within a JOGL-based scenegraph. I’d like to attach this on a group-node with the meaning of everything rendered after this node should be blended by x percent.

I know there’s the blending stuff, but I render all the geometries within a graph-traversal so I cannot sort on the z-axis.

Thanks for comments.
Klemens

As it happens I’ve been experimenting with this a bit. If you check out the joglutils project on java.net there is a minimal scene graph (“MSG”) in it under the namespace net.java.joglutils.msg. You’ll see it contains a Blend node which can be placed in the scene graph and which affects geometry rendered after it. You might think of adding something similar in your scene graph.