PDA

View Full Version : OBJ to OPENGL C convertor



Tetsuo
11-24-2002, 09:59 AM
Hello,

As the more keen among you may derive from the topic I'm looking for a utility that converts the Alias|Wavefront *.obj format to OpenGL C code, for Windows preferably.
Although the *.obj format is quite raw, it's still a pain to parse out and convert all the polygonal and NURBS data and texture diffuse etc map references to optimizable openGL code.
I know the app 'PolyTrans' does exactly what I want, but sadly I am not quite that wealthy.

Thanks in advance for any help,

--
Tetsuo

Stack Overflow
11-27-2002, 06:36 PM
I never tried converting *.obj to OpenGL C Format, but there is a tutorial that allows you to load a Maya .obj file and texture the polygons at: http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg4.htm

"OBJ File Loader"

- VC6-OGL