Hi Michael > > complete non-opaque you could do some sorting appending of the > > transparencyAttributes unfortunately this won't work in retained mode or > > it's very hard as you need to know when rendering is going on or is done. > > yes, there are even more tricks possible with the transparency attributes, > but how to organize with the 2 Canvas3D's ? > > is this possible: > > onScreenCanvas.getGraphicsContext3D().draw(shape1); > offScreenCanvas.getGraphicsContext3D().draw(shape2);
Yes this is of course possible. > and will the drawed geometry (shape2) clipped against the other or are they > in two different universes and non-influences each other ? Nope if you want that also (I think you mean with clipping in this context occlusion, right?) you have to grap even deeper in to the trick box. You have to draw all objects into the offScreenCanvas to get ZBuffer information but first you check if they have a transparencyAttribute if no set one with BLEND_ZERO, BLEND_ZERO as Source and Destination Blending. This makes sure they are rendered but don't show up on the canvas. So you will get black areas. I don't know if that is the effect you want. EOF, J.D. -- Explore SRT with the help of Java3D (http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski) (http://www.antiflash.net/java3d/relativity (mirror) =========================================================================== 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".
