Justin Couch wrote:
>
> Chris Wewerka wrote:
>
> > has someone experience with textures using images that have alpha values?
> > I read some mails in the Java2d interest group and so i think i have to use
> > a png-imageproducer to get images with alpha values?
>
> We've got our own image loaders (ie we've replaced the standard java
> ones) and everything works nicely. In fact, we don't use GIF images
> anywhere at all in our application. They are all PNG. The same textures
> are used for both 2D swing components and 3D texture maps in J3D.
This might be slightly off-topic, but could you explain how you did
this? We'd very much like to be able to avoid GIF as well, and PNG
sounds like a good alternative... (I'm kind of surprised that java only
supports GIF and JPG in the standard JDK - even in 1.2)
later,
Holger
PS: we have already considered JAI - but I think that is kind of
overkill for just loading images in PNG...
--
o---------------------------------------------------------------o
| "That's the funny thing about memories, isn't it? We are not |
| what we remember of ourselves, we are what people say we are. |
| They project upon us their convictions - we are nothing but |
| blank screens." +$+ Trevor Goodchild in "Aeon Flux" |
\_______________________o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
"Best do it so" -?- \ mailto:[EMAIL PROTECTED] |
! http://www.extropy.org ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^%
PGP-Fingerprint: BD 78 AE 5A AD 20 91 AC E6 77 A8 B4 12 D1 9C 39
===========================================================================
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".