Loading 3ds objects and texture

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)

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)