I want to get all the geometry data from a Shape3D object, vertices, texture coordinates and normals.
I can get the vertices by calling Shape3D.getGeometry().getVertex(int), but how do I get the normals and texcoords?
GeometryArray has the info you need
Geometry g = shape.getGeometry();
GeometryArray ga = (GeometryArray) g;
System.out.println(ga.getNormalData().getCount());
Thanks!
getNormal(int i, Vector3f v) and getNormals(int i, Vector3f[] vs) in GeomContainer are not implemented, so you must use getNormalRefFloat().