Can somebody explain what is the difference between this two functions. Don't they represents the same thing for multiple textures.
In the MultiTextureTest, I replaced the
geom.setTexCoordData( 1, geom.getTexCoordsData( 0 ) ); to
geom.setTextureCoordinates( 1, 0, gc.getTextureCoordinates2f() );
and the both look the same.
{
final int features = Geometry.COORDINATES | Geometry.TEXTURE_COORDINATES ;
GeometryConstruct gc = Cube.createGeometryConstructTA( 0.3f, features, false, 2 );
TriangleArray geom = new TriangleArray( gc.numVertices() );
geom.setCoordinates( 0, gc.getCoordinates() );
geom.setTextureCoordinates( 0, 0, gc.getTextureCoordinates2f() );
//geom.setTexCoordData( 1, geom.getTexCoordsData( 0 ) );
geom.setTextureCoordinates( 1, 0, gc.getTextureCoordinates2f() );
return ( new Shape3D( geom, app ) );
}