I should point out that this is happening with the
OpenGL version of the Java3D RT. The DirectX version is
working.
----- Original Message -----
From: Kevin J. Duling
Sent: Wednesday, August 29, 2001 8:52 AM
Subject: TransparencyAttributes only works with
SCREEN_DOOR I'm having some trouble with this bit of
code:
final float trans
= 1.0f -
material.getTransparency();
if (trans > 0.0f) { TransparencyAttributes transparency = new TransparencyAttributes(); transparency.setTransparency(trans); transparency.setTransparencyMode(TransparencyAttributes.SCREEN_DOOR); // this is the only one that works?? app.setTransparencyAttributes(transparency); } TransparencyAttributes allows several different
settings for the transparency mode. But the only one that seems to be
working for me is SCREEN_DOOR. If I choose NICEST, FASTEST, or BLENDED,
the object completely disappears.
|
- [JAVA3D] TransparencyAttributes only works with SCREEN... Kevin J. Duling
- Re: [JAVA3D] TransparencyAttributes only works wi... Kevin J. Duling
- Re: [JAVA3D] TransparencyAttributes only works wi... Kasparian, Raffi J.
- Re: [JAVA3D] TransparencyAttributes only works wi... Kevin Rushforth
- Re: [JAVA3D] TransparencyAttributes only works wi... Kasparian, Raffi J.
- Re: [JAVA3D] TransparencyAttributes only works wi... Josh Richmond
- Re: [JAVA3D] TransparencyAttributes only work... Kevin J. Duling