PDA

View Full Version : OpenGL/C++ book



a_wolly
08-24-2005, 05:15 AM
Hi everyone,

This is my first post so go easy on me :p

I've been using OpenGL for two years now but still don't feel partucularly confident in my knowledge of its capability. I have recently changed my language of choice from C to C++ which leads me to my question:

Can anyone recommend a superb book for a beginner/intermediate level programmer using OpenGL in C++? I've read that 'Accellerated C++ for beginners' and 'Game Programming Gems 5' are great books but obviously don't cover OpenGL. What I really want is a book that explains how to program games using OpenGL in C++ (tough isn't it). A killer combination of books would be fine too.

Many thanks for any feedback

A wolly...

jide
08-24-2005, 05:22 AM
There's no single book covering all those topics (as far as I know).

My advice: use The C++ Language from Stroustrup, then a good OpenGL book, then books covering games.

Hope that helps.

a_wolly
08-24-2005, 06:57 AM
Can anyone comment on/recommend the following books - i've heard mixed reviews:

OpenGL Game Programming (Dave Astle, Kevin Hawkins)
C++ For Game Programmers (Noel Llopis)
Game Coding Complete: 2nd Edition (M. McShaffrey)

Thanks :)

Obli
08-24-2005, 08:08 AM
Originally posted by a_wolly:
OpenGL Game Programming (Dave Astle, Kevin Hawkins)I have this book from Gamedev.net.
I read it some years ago (I believe it was in 2001 but I'm not sure) and I did find it somewhat weak, altough for a beginner the chapter on vertex arrays will probably turn out very useful.
Right now however, it's quite outdated.

Many things included in the book are also similar to what you can find freely on the net. As far as I can remember, some problems were overlooked. I really didn't like the last chapters about the Engine programming because they over-simplified design process.

My first GL book was the superbible. There's the third edition now. I had the second and I still find it useful as reference sometimes.

As for engine design, no book will ever teach you that. Scrap over some engines and get experience, then you'll possibly bonk on something really useful.

a_wolly
08-25-2005, 01:03 AM
Thanks guys :)

noisecrime
08-27-2005, 06:34 AM
I thought opengl Game Programming was a pretty decent introduction to the basics of opengl, but its definately getting dated.

You should read up on all the free opengl (red, blue orange) books/documents (pdfs or html) on this site (http://www.opengl.org/documentation/index.html) . Although most of these are not up to date (what do you expect for free) they should give a good understanding of opengl and its basic features.

For engine design I think David Eberly's site Geomtrictools was wildmagic (http://www.geometrictools.com/) is a great resource. It has full source code to the wildmagic engine and the author has written several books around it. There is a great sample chapter here (http://www.geometrictools.com/Books/GameEngineArchitecture/BookSample.pdf) . The engine supports dx and opengl, but that chapter suggests that the book is opengl centric.

Should be enough to keep you going

08-27-2005, 06:50 AM
1) Beginning OpenGL Game Programming
( excellent C and C++ examples - GL based )
( this is my all time fav... )

2) 3D Math Premier for Graphics & Game Programming
( this one is too good for math. lots and lots of c++ code. )

3) Mathematics for 3D Game Programming & Computer Graphics.
( same as above )

4) Beginning C++ Game Programming.
( excellent book for beginners. )

a_wolly
08-31-2005, 03:48 AM
I've now made my book purchases - thanks to everyone for giving me such good feedback. Now I can help those in need of decent books too :p

Andy