Milkshape texture loading?

Ok, so I went through some tutorials on the web and got a Milkshape file loader working…(basically I just repogrammed somone elses stuff to make it easier.)

but I don’t know how to load a texture onto my model… an tips/places to look to do that?

Also…I want to do animation stuff with the bones after that…any links or anything would be helpful.


check out nehe’s tuts: there are some tuts on textures loading (bmp and tga i think). what format are your textures?


and then once you learn how to load a texture into an opengl texture unit, all you do is call the glBindTexture() function before you draw the model and that should do it!