PDA

View Full Version : Does anybody know how to load an .OBJ or .WRL file into an application?



Robson (binho)
02-15-2006, 08:03 AM
Hi,
I'm a student of computer graphics and I need help!
In my application I need move an 3D model that I made using the "Art of Illusion", and this software exports files only in WRL or OBJ formats.
I'm progamming in C++ and I'm trying to learn the functions of openGL.
Please, tell me an library that could import this object...

Thank's

songho
02-15-2006, 11:48 AM
I know Nate Robins once wrote OBJ loader for glut examples:
http://www.xmission.com/~nate/glut.html

Download the glut source and look for "glm.h" and "glm.c".

Or you may find many other codes for loading OBJ and WRL files on the net.