Is there a way to use bitmaps for textures without using the crazy classes? Everywhere i check the code always has a shitload of classes for simply importing a bmp/tga file.
Name:
Anonymous2008-04-01 23:39
OpenGL has nothing to do with loading the actual textures -- you just pass it a pointer to the byte stream containing the image data. What you're looking for is a good image loading library.
I'd recommend taking a look at SDL with SDL_Image -- together they can load just about any image format. You might also consider something like libpng, etc. Or, hell, since you're just dealing with bitmaps you could write your own loader (I've done it before, it's not really hard at all -- pain in the ass to get a good format specification though).
Name:
Anonymous2008-04-02 0:04
>>1
OpenGL has nothing to do with classes. It's all C, baby.