Hi,
I have a problem displaying a geometry by reference, where nothing is displayed. The code below doesn't work:
TriangleArray arr = new TriangleArray(vertices.length, TriangleArray.COORDINATES | TriangleArray.NORMALS | TriangleArray.BY_REFERENCE); arr.setCoordRefFloat(vertices); arr.setNormalRefFloat(normals);
When I use code below everything is ok and I can see the geometry on the screen:
TriangleArray arr = new TriangleArray(vertices.length, TriangleArray.COORDINATES | TriangleArray.NORMALS); arr.setCoordinates(0, vertices); arr.setNormals(0, normals);
Do you guys have any suggestions?
Thanks a lot, Ilya
=========================================================================== 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".