How to change the geometry of an ObjectFile ?
Hi everybody !
My problem is that when I load my files .OBJ via the loader ObjectFile, objects are deformed by place (I have non flat faces of more than 4 points)...
In brief, I will try the various types of geometry (QuadArray, TriangleFanArray, etc.), but I don't know how to make it with an object of type ObjectFile: is there a solution to change it ?
Thank you very much in advance !
[414 byte] By [
Fraca] at [2007-10-2 21:18:21]

OK, I managed to enumerate the points of my objects WaveFront (I had a problem of BY_REFERENCE, but it's resolved), and I would like to now how to pass from a geometry to an other one (by default it's TriangleStripArray, and I want to try TriangleFanArray for example) : if somebody has a small part of code, it would be very nice!
Thank you in advance !!!
Fraca at 2007-7-14 0:27:15 >

Thank you for your answer, but I had already seen this post : what I would like to know, it's when I have a Shape3D in IndexedGeometryArray, how I can pass it in IndexedTriangleFanArray for example?
Fraca at 2007-7-14 0:27:15 >

Ok, thank you for your reply.
In fact, it doesn't change anything on my OBJ objects : they always look strange (Java interpretation of faces more than 3 points is quite strange for me)... I will try to decompose each faces of my objects into triangles, but if you know an other easier method, it would be great !
So, I consider this topic solved, thank you for your help !!!
Regards.
Fraca at 2007-7-14 0:27:15 >
