Don't know if this is deliberate or an oversight,
but noticed this quirk with IndexedGeometryArray
specification. For example, if I specify an IGA as
follows:
IndexedTriangle Array ita =
new IndexedTriangleArray (
tverts.length / 3,
IndexedTriangleArray.COORDINATES |
IndexedTriangleArray.NORMALS |
IndexedTriangleArray.COLOR_3 |
IndexedTriangleArray.BY_REFERENCE
tvids.length
);
ita.setCoordRefFloat( tverts );
ita.setCoordinateIndices( 0, tvids );
ita.setNormalRefFloat( tnormals );
ita.setColorRefFloat( tcolors );
*without* doing:
ita.setNormalIndices( 0, tvids );
ita.setColorIndices( 0, tvids );
Java 3D seems to manufacture somehow the normal and color indices
internally. It is as if the UCIO bit had been set.
Vaidya
===========================================================================
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".