Hello everyone,

  first, let me thank all of those who replied to my message concercing
the display of an image which shouldn't be tiled over the surface of a
QuadArray.

  Going one step further I've create an TriangleFanArray  whose form
represents an octogon (with 10 points, having [0] the center and the other
representing the points that touch the englobing circle of this octogon)

  This octogon is the terrain where some avatars should move around in.
Now my problem is that I don't have any idea as how to properly set the
textureCoordinates of this object. If tried several combinations, like
creating 8 groups of coordinates but nothing seems to be the right "guess".

  Can some one please explain me how can I achieve this? Setting
textureCoordinates on a QuadArray is relatively simple, because you just
make a correspondance between your vertex and the vertex of the images
(left low vertex of the image goes into the left low vertex of the quad,
and you follow this counterclockwise), but on a TriangleFanArray where you
have triangles that can share up to 2 points, and where the center is
commun, this becomes quite a misleading task. Any tips?

Thanks in advance.
JC

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