Per,
GIF files do support transparency, and I've loaded them into Java 3D and
mapped them onto transparent objects... in fact, I even use Paint Shop Pro!
In PSP you can set the GIF file transparent color by selecting Options in
the Save dialog.
I believe the other format people often use (not used it myself) is PNG
which I think PSP also handles.
Sincerely,
Daniel Selman
[EMAIL PROTECTED]
http://www.tornadolabs.com
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Per Burström
> Sent: 18 January 2000 15:37
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Textures with alpha and TextureLoader class ...
>
>
> Where can I find a list of the image formats that the TextureLoader
> class can handle. I specifically need a format that can handle
> transparency. I have tried PNG and TIF, but neither seems to be
> supported. Until now I have used GIF and JPEG, but neither of them
> supports transparency. So which image format should I use? (It needs to
> be a format that Paint Shop Pro can handle!).
>
> Also, why do TextureLoader cause a crash if the specified file doesn't
> exist.
> Example: TextureLoader texLoad = new
> TextureLoader("fileThatDoesntExist.jpg", this);
> causes an exception instead of returning null like I would like it to.
> Can I change this?
>
> Thanks in advance!
> /Per
>
> ==================================================================
> =========
> 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".