Another tip is to load that gif with a transparency color as RGBA instead of
RGB.

Advanced tip :
 Using a image software, as Jasc's Paint Shop Pro or other, you can add a
transparency mask, from another image.
Save it as PNG and load into Java3D.
You can apply it as DECAL.
example of png texture with a transparency mask:

http://www.cpm2002.hpg.com.br/alessandro/Java3dTRA.png

See also Java3D  MultiTexture demo.
Alessandro

----- Original Message -----
From: "Florin Herinean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 8:43 AM
Subject: [JAVA3D] AW: [JAVA3D] Invisible pixels in textures


Use transparent textures. Save them in gif format, that one allows you to
specify a color to be the transparent one.

Cheers,

Florin


-----Urspr�ngliche Nachricht-----
Von: Risto Rangel Kuoppa [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. Februar 2003 00:40
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] Invisible pixels in textures


Hello!, I have created a set of objects in a stack and each with a different
texture, but I would like to define a color in each texture so it is
considered
an "invisible color" and therefore it is not rendered and I can "see" the
texture of the object "below", I have read about the transparency property
but
I understand this gives the transparency to the whole texture.  Could any
please give me some advice on how to achieve the effect I am looking for?.
I
don't know if this is a rookie issue but the fact is that I have not found
how
to do it and I would really appreciate the any help any could give me.
Thanks
in advance.

Cheers.

Risto Rangel-Kuoppa.

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

_______________________________________________________________________
Busca Yahoo!
O servi�o de busca mais completo da Internet. O que voc� pensar o Yahoo! encontra.
http://br.busca.yahoo.com/

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