Programming X Windows
To get SDL working KDevelop all you have to do is under Project/Options/Compiler Options/Linker Flags type `sdl-config --libs` -lGLU -lGL under additional flags (make sure you use ` next to 1 with ~ on a normal keyboard, not the single quote '' next to Enter).
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)
BlkSabb: Thanks for the tips! I added them to my Wishlist on Amazon.com B-)
-------------------------GBGames' Blog: An Indie Game Developer's Somewhat Interesting ThoughtsStaff Reviewer for Game Tunnel
quote: Original post by BlkSabb
I recommend that you get Linux 3D Graphics Programming by Norman Lin. It covers everything you want. There''s also a sequel called Advanced Linux 3D Graphics Programming also by Norman Lin. Maybe you should get them both.
I dont. They suck.
Well...no, they dont, but they won''t teach you anything useful about XLib except how to use an example.
If you have SPECIFIC xlib question visit comp.windows.x on the usenet. Some of the people there have a clue (not many, but a few).
If you just want to play get a copy of the Xlib programming manual volume 1 and volume 2 (or visit HERE: http://www.tronche.com/gui/x/xlib/) for a copy of the equivalent of volume 2 with a few extra bits.
Volume 1 is kinda useful, but not very anyway. Volume 2 and the man pages are what you really want.
Finally, last but not least you can download my complete mini-display library which I wrote specifically for the purpose of explaining how xlib works.
It does not handle events at all. You need an additional seperate module to handle the xlib event queue for that.
I''ll post a url to my module when I get home; I dont have a copy of it here I think...
Hrmmm.... and stay the heck away from XImages. They are more effiecent than the GLX implementation for straight 2D rasterisation, BUT way more complex, and architecture dependent. Well...if you wanna have fun, poke me again and I''ll talk about them more, but basically even the ppl on comp.windows.x pretty much suck at using XImages. ^^
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement