How can I have access to a model's polygons? I'm porting a bone structure I wrote several years ago to JPCT and I need access to any given polygon. My implementation used a stack.peekAt(int) method. Is there a similar method in jpct? Also, is there any readily built bone classes to distart 3d characters? Thanks in advance.
I don't know much about this, but I have heard of a class called PolygonManager, who's javaDoc sounds very similar to what you speak of.
You can also try looking at IVertexController since it has getSourceNormals(), which returns an array of the normals, represented by Simplevector... I bent a mesh in a cloth-like fashion by using that...
Yes, there's a PolygonManager to get access to the underlying polygons and you may extend the GenericVertexController to get access to the the vertices of a mesh.
is there possible to apply a texture to each face of the Mesh ?
Yes, uv mapping.
Quote from: "athanazio"is there possible to apply a texture to each face of the Mesh ?
The PolygonManager can do this.