Dark Bit Factory & Gravity
GENERAL => General chat => Topic started by: tnk2k on October 04, 2012
-
Hello all,
I have some basic c knowledge and want to learn how to do some graphical programming on linux. I've read 'Linux Graphics Programming with SVGAlib' from Jay but i think this is a bit outdated i guess.
Does anybody have an good book tips?
Thanks.
-
How about opengl api - http://www.opengl.org/wiki/Getting_Started
It's perfect to use on linux and with c language.
-
I have some basic c knowledge and want to learn how to do some graphical programming on linux.
Do you want to do software rendering (plotting pixels with your cpu) or do you want to use your graphics card?
And which IDE are you using?
-
I have some basic c knowledge and want to learn how to do some graphical programming on linux.
Do you want to do software rendering (plotting pixels with your cpu) or do you want to use your graphics card?
And which IDE are you using?
Both i guess :) I don't have an ide, i just use vi :) Do you recommend an ide?
-
How about opengl api - http://www.opengl.org/wiki/Getting_Started
It's perfect to use on linux and with c language.
Thanks! I also read about the 'red and blue' book. Would you recommend those or are those outdated?
-
Thanks! I also read about the 'red and blue' book. Would you recommend those or are those outdated?
You can read the red (http://www.glprogramming.com/red) and the blue (http://www.glprogramming.com/blue) book online.
I don't think there's such a thing as "outdated" because it's fundamental to understand how things worked in the past and why they changed.
I wouldn't really recommend to have them in the shelf, though. Once you've picked up the basics they're pretty useless.
I don't have an ide, i just use vi :) Do you recommend an ide?
On linux I use .pro-files and qmake (which belongs to qt and ships with kde) which is somewhat more convenient than the standard makefiles.
An IDE is essential to organize your project, refactor your code and run the debugger.
My favourite is qt creator (http://qt.digia.com/product/developer-tools). It's targeted at developing qt applications but also works without it.
Of course there are some others, too (eg eclipse/cdt, code blocks) but they'll make your life only half as wonderful :)