Forum: Poser - OFFICIAL


Subject: Mirroring an object: a scripting problem.

AntoniaTiger opened this issue on Apr 24, 2005 ยท 6 posts


Spanki posted Sun, 24 April 2005 at 5:57 PM

Yep, you need to reverse the winding order of the polygons as well to fix the normals. So a facet record...

f 1 2 3 4

...becomes...

f 4 3 2 1

...in .obj file format (note that the above is a simple, 4-sided polygon, "no textures, no normals" example of a facet record - below is a list of the various formats (where 'v' is a vertex index value, 't' is a texture index value and 'n' is a normal index value): f v v v <-- vertices only f v/t v/t v/t <-- vertices + textures f v//n v//n v//n <-- vertices + normals f v/t/n v/t/n v/t/n <-- vertices + textures + normals ...and some programs will also write out... f v/t/ v/t/ v/t/ <-- vertices + textures ...the above are triangles, 4 or more sided polygons would have additional values for each vertex.

Message edited on: 04/24/2005 18:05

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.