No you cannot apply different textures to the shape except with
multi-tetxuring, and that won't help your issue.
Your options are:
1. Do a an ordered group with by-ref geometry and blend multiple passes into
the same geometry. You might be able to use a decal group here. Do polygon
transparency and have an alpha component in your textures so you can blend
it in the way you want. The more passes the slower it will run.
2. Pre-generate your textures (with all blends) and break your terrain into
pieces and have each piece use its own texture.
3. Build a large texture and reference it using texture coordinates... you
can't overlap tecnically, but you could fool it by overlapping our geometry.
Really unless you need large world visualization you should just create one
big texture by pre-blending and apply it to your terrain. There is a new
tutorial up on www.flipcode.com on how to do that.
If you are going for large terrain visualization then you will have to break
the geometry into pieces anyway, so you might as well have seperate textures
per quad patch.
David Yazel
www.cosm-game.com
-----Original Message-----
From: alvaro zabala
To: [EMAIL PROTECTED]
Sent: 5/29/01 10:21 AM
Subject: [JAVA3D] TEXTURING SURFACES??
I'd like to aply different textures over differents parts of the same
TriangleStripArray Terrain.
I'm building some surfaces to overlap the Terrain Surface, because I
think I
only can apply a texture for Shape3D
Can I apply different textures to the same Shape3D?????
========================================================================
===
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".