Hi!

In my application I need to set more different texture-coordinates in a
IndexedGeometryArray than points. This is because the corner-points have
more than one texture-coordinate since on the adjacent faces of my geometry
different texture-parts will be shown.
But the count of the points and the count of the texture-coordinates seem to
be "linked". I. e. if I try to add more texture-coordinates than points I
get a ArrayIndexOutOfBounds-exception.
Then I tried to increase the array-size by giving a greater number of points
(more than really added) to the constructor of my geometry. This seemed to
work. But I feel very uncomfortable about this.

Are there any side-effects to be expected when adding less points as stated
in the constructor?
Or does anybody has other suggestions for this problem?


Sincerely, yours

 Michael Lorenz.
 ([EMAIL PROTECTED])

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to