Quote:
|
bit_depth: 8 (what ? I thought it was 24bpp or 3 bytes)
|
As far as I remember it, it is 3 channels of 8bits each (3*8=24

)
On a broader note: learning OpenGL and libpng etc.. is a great way of understanding the fundamentals of game programming although one of the critical components of OpenSource is the reusability of code. If I could point you in the direction of
Ogre, it is an OpenSource 3d graphics library specifically for games. It is quite spectacular, just look at this screenshot:
http://ogre.sourceforge.net/albums/a...ake3.sized.jpg
To copy and paste off the website:
Quote:
What is OGRE?
OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce applications utilising hardware-accelerated 3D graphics. The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes.
|
And from another post I have in this forum (sorry to copy paste but I liked the format

):
I would suggest the following:
You can start right off the bat with these two tools alone to make some pretty cool stuff. Just look at the screenshots on Ogre's website if you are in doubt. And then when you are ready to move onto other areas you can add in Raknet for networking, OpenAL for sound, ODE for collision detection and physics, Crazy Eddies GUI for ingame interface etc... The possibilites are endless. If you have any questions, feel free to pm me.