PDA

View Full Version : getting started



12-25-2002, 10:29 AM
Can someone help me get started with opengl programming? i am working on c++ right now and i would like to get into windows programming and graphics programming. I am good in math and am learning calculus.If anyone can give me a hand in getting started, reccommend good sites or books, please help. thanks so much!

Halcyon
12-25-2002, 02:40 PM
Hey there! Alright for windows programming you don't need to know a lot if you are just going to program graphics. Most graphics books tell you how to create a window in their intro chapters. But, for windows programming i suggest:

Programming Windows, The Definitive Guide to the Win32 API (http://www.amazon.com/exec/obidos/tg/detail/-/157231995X/qid=1040859804/sr=8-1/ref=sr_8_1/104-8427838-4407153?v=glance&s=books&n=507846)


Now for the graphics:

OpenGL:
OpenGL programming guide (http://www.amazon.com/exec/obidos/tg/detail/-/0201604582/qid=1040858679/sr=1-1/ref=sr_1_1/104-8427838-4407153?v=glance&s=books) (this is the best book to learn opengl) OpenGL Game Programming (http://www.amazon.com/exec/obidos/tg/detail/-/0761533303/qid=1040858839/sr=1-1/ref=sr_1_1/104-8427838-4407153?v=glance&s=books) OpenGL Superbible (http://www.amazon.com/exec/obidos/tg/detail/-/1571691642/qid=1040858932/sr=1-1/ref=sr_1_1/104-8427838-4407153?v=glance&s=books)

Ok each book title is a link to their page at amazon.com. The first one is the best one to learn opengl, but the second one is good for learning and applying it to a game (you get to learn how to do some pretty neat things...if i were you... I'd get the first one (it's also called the red book because the cover is red) and read through it and THEN get the second book so you can focus on the more advanced concepts without worrying about the simple opengl things). I have never read the last one but i hear it's not bad.

For just concepts and or math, i like these books:

Real-Time Renderin (2nd Edition) (http://www.amazon.com/exec/obidos/tg/detail/-/1568811829/qid=1040859125/sr=1-1/ref=sr_1_1/104-8427838-4407153?v=glance&s=books) This is A GOOD book for concepts only (doesn't teach you programming). Get this after you understand OpenGL...that way you know how things work instead of just blindly using them. Mathematics for 3d game programming and computer graphics (http://www.amazon.com/exec/obidos/tg/detail/-/1584500379/qid=1040859247/sr=1-1/ref=sr_1_1/104-8427838-4407153?v=glance&s=books) - Good book for learning the math required (the math is not really so much calculus as it is linear algebra - vectors and matrices). I'm sure u'll pick it up fast. Get this book if you want to know a lot of math behind the physics, water rendering, and other advanced stuff. If you just wanna know how to do simple vector math, look on the internet...i'm sure there is a LOT of stuff there that won't cost you $49.99 http://www.opengl.org/discussion_boards/ubb/biggrin.gif .

Ok, those are all the books you'll need. If you are just doing graphics, get the first opengl book i listed and then look for an online tutorial for how to create a window NeHe (http://nehe.gamedev.net) and GameTutorials.com (http://www.gametutorials.com) will take care of all the online tutorial needs for you.

Ok...so if your doing graphics get the red book and then look at the tutorials on NeHe's and Gametutorials.com sites.

If you ALSO want to learn windows programming to a level beyond JUST creating a simple window with no menus and buttons, then get the book i suggested or some other book that you like better. I hope all this helped!!

Happy Holidays

- Halcyon



[This message has been edited by Halcyon (edited 12-25-2002).]

12-25-2002, 03:32 PM
thanks so much!!!!! http://www.opengl.org/discussion_boards/ubb/smile.gif