hi. The triangulator utility in com.sun.j3d.utils.geometry throws an
exception with following stack trace:

java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at com.sun.j3d.utils.geometry.NoHash.insertAfterVtx(NoHash.java:34)
 at com.sun.j3d.utils.geometry.NoHash.prepareNoHashPnts(NoHash.java:136)
 at
com.sun.j3d.utils.geometry.Triangulator.triangulate(Triangulator.java:462)

i'm pretty sure the data i put inside the Triangulator is ok.

I have attached a test program that reproduces the situation. I'm using
Java3d v1.2.1_03.



Attachment: TriangulatorTest.java
Description: JavaScript source

Reply via email to