PDA

View Full Version : Loading 3ds objects and texture



nergal
10-21-2002, 05:22 AM
How to load texture from .tga files and load object into the scene, I'm using glut (if it is to some help).
It would be great to get sourcecode to do this. (well commented) http://www.opengl.org/discussion_boards/ubb/wink.gif

nexusone
10-21-2002, 08:26 AM
hehe.gamedev.net has glut versions of his examples, with TGA loader routines.

Also Nate Robins Glut web site, don't have the link, but enter his name in google and will get it.


Originally posted by nergal:
How to load texture from .tga files and load object into the scene, I'm using glut (if it is to some help).
It would be great to get sourcecode to do this. (well commented) http://www.opengl.org/discussion_boards/ubb/wink.gif