Shawn,
     No, you can't control the amount of alpha blending this way.  I just
used it as a psuedo code example of what I would like to do.

     Yes thanks, I am Very interested in blending the textures at different
values other than 50/50.
  -Mike Smith

From: Shawn Kendall <[EMAIL PROTECTED]>

This example (as well as Java3D) will blend between two textures.
However, you can not set the amount of blend, it's always 50/50.
I think Michael is looking to control the blend function a little bit
more (so am I!).

Am I misinterpreting this?
And can you control the amount of blend/alpha (ex texture1.alpha = .2)
directly - other than the actual alpha of each pixels?

Charmaine Lee wrote:

 > Mike,
 >
 >      You can use multiple texture unit states to blend multiple
 >      textures onto a shape.  Included in the attachment is an
 >      example of multi texturing in Java3D.
 >
 > -Charmaine Lee
 > Java3D Engineering Team
 >
 >
 >
 >
 >
 >> X-Originating-IP: [128.187.171.43]
 >> Mime-Version: 1.0
 >> X-OriginalArrivalTime: 14 Feb 2001 22:50:46.0351 (UTC)
 >
 > FILETIME=[916FF5F0:01C096D8]
 >
 >> Date: Wed, 14 Feb 2001 15:03:13 -0800
 >> From: Michael Smith <[EMAIL PROTECTED]>
 >> Subject: [JAVA3D] texture map blending
 >> To: [EMAIL PROTECTED]
 >>
 >> Java3D people,
 >>      I'm doing research in image morphing and animation.  I'd like
to know
 >> how you would recommend handling the problem of blending two different
 >> textures onto a shape (triangulated grid) in Java3d.  We'd like to do it
 >> taking advantage of java3d's hardware acceleration if we can.
 >>      I've looked through the documentation on Java3D and couldn't find
 >> anything that I thought would work for this.  The BLEND option in the
 >> TextureAppearance class only works with regaurd to the blend color.
 >>      One thing we've done in the past was to paint the first texture
map at
 >> a fraction of it's value (ex texture1.alpha = .2 ) and then paint
the second
 >> texture map on top of that with a the rest of the value(
texture2.alpha = .8
 >> ).  I don't know how you would do this in java3d.
 >>      I would be most grateful for any advice you would have.
 >>
 >> -Mike Smith.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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