-
Texture troubles
Hi folks;
I'm new to game programming and I am trying to apply textures to my objects. I am programming in OpenGL in C and I've surfed the Web for examples but I've come up with a lot of glaux examples, however I'm not using glaux. Can anyone out there direct me to some tutorials on texturing in OpenGL in C that does not use glaux?
-
uhm... go to www.wotsit.org and look up the file format for the image you are looking to make a texture from. Then , using the document, develop structures and functions to load that image and decompress if necessary. This is all very easy. Then you can just feed the resulting buffer of data to the same texture generating functions you use, such as glGenTexture2D(),etc..