Hi!

> >But I don�t want a transparent object! Perhaps I didn�t explain well.
> >I have a gif with transparent background. In java3d I create a box and I
> >want to put this gif as the texture of the box! When I do this the
> >background of the gif becomes white instead of transparent!
> >
> 
> John's solution is not elegant, but it is what you have to do to use a
> texture/gif with a transparent background.  I came up with the same
> solution after struggling with it for ages (and asking Sun for help).
> Notice that although the object is given a TransparencyAttributes, the
> transparency value is set to 0.0f, which is opaque!
> 
> The image Component and texture buffer must also be of format RGBA
> 
I try this but doesn�t work. I don�t want the whole object transparent!
See the image at this page:

http://camoes.rnl.ist.utl.pt/~aipmb/imagem.jpg
I want to see the witch without transparency! I just want the background
transparent, not the witch!

Tanks!

-------------------------------------------------
./--\.          Ana Isabel Pina Moreira Boto
.    .          Mail: [EMAIL PROTECTED]
 \--/                 [EMAIL PROTECTED]
                ICQ: 24914295
-------------------------------------------------


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

Reply via email to