View Full Version : Creating .obj file from an array of vertices.
12-11-2008, 04: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, 01:01 PM
Why not share the solution with us? :)
12-11-2008, 01: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, 02: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.