Stemming from this question of mine: I'm seeing artifacts when I attempt to rotate an image
In the source code there, I am loading a TIF because I can’t for the life of me get any other image format to load the transparency parts correctly. I’ve tried PNG, GIF, & TGA. I’d would like to be able to load PNGs. I hope the source code given in the question above will be enough, if not, then let me know.
For a better description of what happens when I attempt to load some other format — One of the images I was attempting was a 128*128 orange triangle. Depending on the format, it would either make the entire 128*128 square orange, or make the transparent parts of the image white.
OK, I’m new at OpenGL + SDL but here is what I have.. Loads all? formats SDL_image supports except I can’t get .xcf to work and don’t have a .lbm to test with.
And then to draw I set the color to opaque white (doesn’t affect transparency?) then just call the list..
And of course, any help for my code would be much appreciated too! 🙂