The texture is part of the Appearance, not part of the Geometry.  A shape is
both an Appearance and Geometry. So the steps are like this:

make an appearance
add a texture to the appearance
make the triangle array (which is a geometry array)
make a shape3d
add the appearance to the shape3d
add the geometry to the shape3d

Hope that helps.

David Yazel
http://www.cosm-game.com/

----- Original Message -----
From: Gael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 8:44 AM
Subject: [JAVA3D] Texture and TriangleArray


Hi,
I would like to know how to put a texture on TriangleArray? Is there a
special constructor?
Thx,

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