View Full Version : Creating .obj file from an array of vertices.

12-11-2008, 03:21 AM
I am rendering a NURBS patch and I have the vertex data. What do I need to follow to create a file in .obj format which later can be used to render this patch in another application? Thanks in advance for the help (I know I have had many questions).

Sorry, please ignore. I managed to find a good tutorial.

12-11-2008, 12:01 PM
Why not share the solution with us? :)

Ilian Dinev
12-11-2008, 12:31 PM
remdul, the .obj format is pretty simplistic :) . It's all a bunch of fprintf() calls with vertex positions, then indices.

12-12-2008, 01:47 AM
important with every file format is to correctly export it like stated in the file format definition. thats pretty straight forward if you consult the file format documentation.