Archived

This topic is now archived and is closed to further replies.

Foible

File Formats and Loading Objects

Recommended Posts

Foible    122
Is there an easy way to get OpenGL to load in objects? If so what file format should I use and how do I do it? The way I currently do it is kind of a pain in the a$$ and there had to be a better way...(I use Lightwave and Milkshape 3D to make objects, they are fairly simple with just one solid color and all contain just triangles, no quads or anything) -=Foible=-

Share this post


Link to post
Share on other sites
jpersson    122
No, you cannot import objects with just OpenGL. But if you have some programming experience you should be able to do it by your self.

Nehe has a tutorial on Milkshape3D object loading, and if you want to load lwob files i suggest you read the spec on the format and then base you code on nehes tutorial.

nehe''s tutorial on milcshape3D loading and drawing:
http://nehe.gamedev.net/tutorials/lesson32.asp

the LWOB format:
http://www.cica.indiana.edu/graphics/object_specs/LWOB.format.html
http://www.pb.net/usrwww/w_limg/LWOB.HTM

Share this post


Link to post
Share on other sites