hi.  it may not look transparent .  depends what background you have. if you
looking at black background it will not look transparent until you put
something  behind the object i mean. i hope this helps.

 geoff
----- Original Message -----
From: "cs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 2004 3:03 PM
Subject: [JAVA3D] how to make an object in VRML file transparent?


Hi,everyone!
I use VRML97.jar to load a VRML file in Java3d.
there is a shape and it's Material is  as following:
Shape {
          appearance Appearance {
            material Material {
              transparency 0.5 ----!!!!
            }
          ...
         }
       }
but in java3d the shape I see is not a transparent one.
so VRML97.jar did no support the key word "transparency "?
I can obtain a TransformGroup (it is that shape)in java3d,but how can I make
it transparent ?

Thanks!

Martin

   

===========================================================================
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".

===========================================================================
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".

Reply via email to