Hi,
> On my test, the transparent bit is indeed used and my icon background is
> transparent, but the texture behind it is not displayed.
Beware, if you use a GeometryInfo and if you set both color per faces and
texture coordinates, you may have strange 
results. To be sure your texture is not drawn on the back face you can set
cullFace to CULL_NONE and backFaceNormalFlip to true in you
PolygonAttributes 

> I can see the colour of the surface behind but not the texture mapped on
it
> : Is this expected?? is this the case for your code??
Did you try ? 
>     ta.setTransparencyMode(ta.MODULATE);
instead of 
>     ta.setTransparencyMode(ta.BLENDED); // in my specs should be BLEND not
> BLENDED
this should work fine (it's working for me, just like a VRML browser do).
MODULATE multiply the value of a pixel from the geometry(pg) with the value
of a pixel in the texture (pt),
(I think a good opengl book will help you, since java3D uses the same
terminology and philosophy)

> Can a transparent gif be really transparent???
Definitely yes

furthermore you can have both transparent backgroud AND transparent
(translucid) texture
by setting transparency to something else than 0.0f

> I am fighting on this issue as well as it is quite critical!!!
I agree with you, but the issue is more on z-buffer ! (see my previous mail)

Please can you tell me if MODULATE is working for you ?

Cheers,
renaud


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

Reply via email to