PDA

View Full Version : Milkshape texture loading?



DJKAOS
02-23-2003, 08:15 PM
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.

thanks

jebus
02-24-2003, 05:53 AM
check out nehe's tuts: http://nehe.gamedev.net there are some tuts on textures loading (bmp and tga i think). what format are your textures?

jebus

02-24-2003, 02:22 PM
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!