Hi all,
I just started playing with Java3D, and have gotten gif89a to be 100%
transparent. But can get nothing in
between. ie. the Alpha channel is either 100% transparent or 100% opaque.
here is the code:
Appearance app = new Appearance();
TextureAttributes tatt = new TextureAttributes();
Transform3D trans = new Transform3D();
trans.setScale(2.0);
tatt.setTextureTransform(trans);
app.setTextureAttributes(tatt);
app.setTexture(tex);
TransparencyAttributes ta = new TransparencyAttributes();
ta.setTransparency(0.5f);
ta.setTransparencyMode(TransparencyAttributes.BLEND);
app.setTransparencyAttributes(ta);
Shape3D cube = new ColorCube(cubeScale);
cube.setAppearance(app);
cube.getAppearance().setTexCoordGeneration( new TexCoordGeneration());
Any suggestions greatly apprecieted ThanX.
p.s. this is on Win NT 4.0 SP-3
p.ps. any recomendations for good video cards for Java3D??
Dan Hopkins
[EMAIL PROTECTED]
===========================================================================
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".