[SDL] SDL_image to OpenGL Texture loading
Mathew Byrne
mathewbyrne at gmail.com
Mon Jun 26 21:42:38 PDT 2006
################################################################################
I'm looking around for a cross-platform solution to loading textures for use
with OpenGL and SDL_image seems to be a viable solution. I've played around a
little with it so far, compiled with the examples from the Doc Wiki but havn't
been able to find anything I'm completely happy with.
What I need is the following:
- The ability to load any of the image formats that SDL_image is able to load
reliably across multiple platforms.
- The ability to cater for different bit sized formats ( ie 8 / 24 / 32 etc bit
images ).
- Loaded images that are correctly oriented for OpenGL conventions (ie the image
starts in the lower left corner).
Are there any Open-Source solutions avaliable for this? Or does anyone have any
code avaliable that will accomplish the above?
Cheers,
More information about the SDL
mailing list