> Is there anyway to set the background transparent in Java3d?  I am using a
> semi-transparent display so I want this capability.  Thanx in advance.

Depends what you mean by transparent. If you mean transparent
with respect to the other pixels displayed by the window system,
"no". Search the list's archives on "Lightweight" to get more of
the story, but to summarize it: Canvas3D is a heavyweight
java.awt.Component. Heavyweight Component's have opaque
backgrounds. A future version of Java3D will have off-screen
rendering capabilities which will allow you to write images
rendered by Java3D into the java.awt.Graphics object of
a Lightweight Component - then you can replace the opaque
background pixels with transparent pixels.

But I think you mean transparent in a different sense.
When I've used see-through HMD's, a black background
gave me the effect I was after. Only the non-black
pixels were lit up. Black pixels do not add any color
to the see-through image. Is that what you are after?

Mark
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to