PDA

View Full Version : Alternative Textureloader for OpenGL



Daikrys
08-08-2005, 05:50 PM
hi guys,

iam looking for textureloader for opengl

i need to load 100 textures

i also worked with GLBMP.pas and bmp.pas

with GLBMP the textures wouldnt draw sometimes?
with bmp i get a 'no more virtual memory' exception?

what else loader you know?

Thanks

Traveler
08-08-2005, 06:37 PM
Have a look at the samples at http://www.sulaco.co.za/ (http://www.sulaco.co.za/opengl.htm).

technomage
08-08-2005, 09:45 PM
SDL_Image is fantastic for loading images from files, and generating textures from the SDL Surfaces is faily stright forward. It supports loading the alpha channel on png and tga files (and probably others too), and it takes away the need to check the image type when loading.