Well, I think you misunderstood my comment. I did not mean that you could
not turn transparency blending on or off, but rather that unlike GIF, colors
in Java3d can be blended with a range of transparencies. As in for every
texel you can set an RGB and an alpha which represents its bled according to
texel[v][u] = (texa[v][u] * blend) + (texb[v][u] * (1.0f - blend))
Dave Yazel
----- Original Message -----
From: Karsten Fries <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 4:40 AM
Subject: Re: [JAVA3D] java3d1.2.1beta1 - transparent gif astexture fails
Hi there,
> Now Java3d does not think of transparency as off or on, but as a range.
> Color in java3d can have an alpha componant.
I cannot agree with that. The fact is the transparency features can be
set on/off with
the TransparencyAttributes of an object. This means off maps a null
transparency attrib. and
on a valid transparency attrib.
What I did, to get my jpg images transparent is to set the alpha value
by hand and
in respect to the intensity to shades of grey. Suppose a white
background appearing
fully transparent and a slight variation of a shade appears to be a
little less
transparent but still not fully opaque. This works fine with my images,
where
i exploit antialiasing effects.
Cheers,
Karsten
===========================================================================
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".