Thank you again.

You are right, my image is wrong. I am working with images in DICOM
format, which I convert to awt.Image, with an IndexedColorModel, where I
set the transparent color to 0. Then I use JAI.convert("AWTiamge",img)
and there I am loosing the transparent color. I gave for a fact that the
PlanarImage was created with the same ColorModel !!

The image has a lot of handling before it comes to the texture. I think
the best would be to convert the image to .PNG prior to creating the
texture, which I will have to learn first. I am a neurosurgeon and this
may take some time for me. I will keep you posted.

Regards

Humberto

-----Original Message-----

 I *think* it might be your image (not sure though), the following image
has 5
dots on it red, green, blue, white and black, all should be completely
opaque,
the rest of the image is completely transparent. It's one I use just to
check my
blending, it works on the HUD I've been working on, and elsewhere in the
scene.

if it works with this image, if you email me (off list) your image I can
try it
here.

HTH

Jeremy
--

Homepage: http://www.computerbooth.com/
Code page: http://www.newdawnsoftware.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