Is it possible to set the vertex alphas, then modulate a texture with alphas
to merge the two alpha componants?  So lets say I have a texture with a
solid circle, where the circle has texels of alpha 1, but the space around
the circle has texel alphas of 0.  Now I map this to a plane, where the
geometry is defined with COLOR_4.  All the vertices of colors of white, with
alpha of 1, except one vertex right in the middle, which has an alpha of
0.5.  Now I modulate the texture onto the plane, such that the circle is
centered in the middle of the plane.  I would expect the texels of the
texture to modulate all 4 parts of the color with the vertex, producing a
blended 50 percent transparency in the center.

But it looks like the TransparencyAttributes are overwriting my vertex
alpha, leaving the circle solid.  In other words, in order to render my
texture with its alphas, I have to use transparency attributes, which
overwrite my vertex alphas.  Seems to anyway.

Any thoughts?

Dave Yazel

===========================================================================
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