Hmmm,
Two ways:
1) Interesting way but probably not what you want is to set the color of the
vertex to include an alpha component and fade across your vertices, using
modulate with the texture. I know this works in opengl, I assume it does in
Java3d.
2) The next way is to use a transparent polygon, and blend a texture in
which has an ever increasing (decreasing?) alpha, this is the technique I
use to make a terrain transition, I overlay two meshes and fade one out.
Dave
> ----------
> From: J. Lee Dixon[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Tuesday, September 19, 2000 8:42 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Fade-out of transparency textured polygons
>
> A while back I fought with the settings to make transparency textures
> work. I could easily place the texture on the polygon, but the places
> where the alpha value of the texture was 0, it showed the color of the
> polygon. It didn't make sense to me that I could see the underlying
> polygon at all.
>
> I fixed the problem by setting the TransparencyAttributes to be totally
> transparent. Fine.
>
> Now, how do I make the whole object fade out?? Normally, I would fade
> using the TransparencyAttributes, but it is already set to totally
> transparent.
>
> I thought applying a texture with alpha set to 0 would make the polygon
> invisible; I shouldn't have to set the poly transparency as well...
>
> -Lee
>
> J. Lee Dixon
> Software Engineer
> SAIC - Celebration, FL
> [EMAIL PROTECTED]
>
> ==========================================================================
> =
> 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".
>
===========================================================================
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".