I'm trying to turn transparency on and off for a live Shape3D object
(quadShape). The capability bits are all set correctly, and I'm getting no
exceptions with the following method.
The println("message") is returning the correct message, but the quadShape
object is not changing transparency.
I've double checked both transparencyAttributes objects, and they both work
when generating a new sceneGraph.
Any Ideas?
//---------------------------------------------------------------
public void adjSurf()
{
if(isTransparent)
{
quadAppearance.setTransparencyAttributes(transparencyAttributes);
System.out.println("Transparent");
}
else
{
quadAppearance.setTransparencyAttributes(transparencyAttributesOpaque);
System.out.println("Opaque");
};
quadShape.setAppearance(quadAppearance);
};
Don Casteel
Manufacturing Engineer
TEXTRON Automotive Company -- Athens Operations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Voice: (423)744-1109
Fax: (423)744-1112
Pager: (423)744-1129 -- 109
Internet: [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".