-
Which Library to Use
I am fairly practiced in the basics of C/C++..(I think so..!)
But I'm hitting some solid roadblocks when moving into the graphics arena..
What library should I use?..(I tried Opengl and all the examples I see use the libraries from X server...Would it be valid if the distros start using wayland instead of X?)
Is there something which would be easy to learn and portable..while offering good results....?
-
Which OS/Compiler are you using to begin with?
These are occasionally recommended as being a bit easier to cope with
Allegro - A game programming library
Simple DirectMedia Layer
-
O.S..Ubuntu 10.10 && Fedora 15 alpha
Compiler.. gcc 4.5 && 4.6
Allegro seems nice....
But what is the difference between the numerous libraries ? Would I have to relearn everything if I try to use another one ?
-
At a minimum, each new library is a new API learning experience.
But the basic theory of say understanding how to rotate a polygon using matrices is universally constant. If you understand the underlying geometry, then finding how to do that in any given API is pretty easy.
Likewise, many libraries have recurrent themes which will seem familiar to you as you go from one library to another.