PDA

View Full Version : Loading Bitmaps with C++



FairyTail
October 24th, 2011, 11:49 PM
I'm sorry if there's an answer that I've missed, I'm new to OpenGL I've been searching for ages and I really am pulling my hair out!

I started learning OpenGL a couple of months ago, using C++ on my Ubuntu 9.10 machine. Now I'm onto texture mapping and I'm confused about loading bmps. What is the difference between loading a bmp in Windows and Linux? Are there any good tutorials or examples out there to demonstrate these differences, or perhaps is there someone who would be willing to explain how to load a bitmap in Linux?

I'd really appreciate your help :)

cgroza
October 25th, 2011, 03:29 AM
I think that the native bitmap formats on the 2 OS's are different. I know that SDL takes care of this for you, so maybe you could consider SDL instead.

FairyTail
October 25th, 2011, 01:40 PM
Really helpful, thanks!