Sign in to follow this  
Prot

Which OpenGL book to pick?

Recommended Posts

Prot    541

Hi there,

 

I am not new to programming but I am a complete newbie to OpenGL. I played around with XNA for a couple of years now and decided to learn opengl. So I got a copy of the superbible 5th edition. The first 4 chapters were ok. But now there are things which I really don't like. 

 

1. They use their own libraries and .h-files. And I have the impression of only scratching on the surface all the time.

2. The Shader-chapter got me completely confused not least because of the custom Libs and .h

 

So is there any OpenGL books you could recommend where one can learn it from scratch? I read about "Beginning Opengl Game Programming" would you recommend this?

 

Greets.

Edited by Prot

Share this post


Link to post
Share on other sites
blewisjr    752

The best book I could recommend by looking at all current books is The OpenGL Superbible 6th edition.

 

The authors decided to get rid of their wrapper library and instead show you raw OpenGL.  They do have a set of headers to use that handles setting up GLUT and has a few mathematical things in there to make your life easier but this stuff is not hiding OpenGL in anyway.

 

The only downfall of this edition is the fact that it is OpenGL 4.3 so you need a video card capable of 4.3 or at least from what I can see 4.0 - 4.3.  The author does claim most of the examples should work with 3.3 but there will be a bunch that do not.

 

This is a tutorial book if you combine this with the newest OpenGL red book (More of a reference then anything) you will be set and on your way.

 

Edit:

 

Forgot to mention if you are looking to get into the basics without a book the best way to go is with this tutorial....

 

http://www.arcsynthesis.org/gltut/

Edited by blewisjr

Share this post


Link to post
Share on other sites
Segmented    434

I began graphics programming with the book you mention, "Beginning OpenGL Game Programming", and I found it an excellent start to the subject. That being said, the first edition of the book which I used was purely fixed-pipeline which would be somewhat pointless to learn nowadays as you would have to relearn everything to use shaders anyway. I notice the book is now in its second edition, so maybe they have updated things to incorporate shaders. Its something to be aware of, at any rate.

Share this post


Link to post
Share on other sites
EddieV223    1839

Either this one 

OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3 (8th Edition)

http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321773039/ref=sr_1_1?ie=UTF8&qid=1382723216&sr=8-1&keywords=openGL

 

or this one 

OpenGL SuperBible: Comprehensive Tutorial and Reference (6th Edition) 

http://www.amazon.com/OpenGL-SuperBible-Comprehensive-Tutorial-Reference/dp/0321902947/ref=sr_1_2?ie=UTF8&qid=1382723315&sr=8-2&keywords=openGL

 

both were released this year.  I own the first, it's ok, I really wish they would teach it different like a from scratch tutorial.

Share this post


Link to post
Share on other sites
EddieV223    1839

If you are using c++ which I guess you are since you are using openGL, I would suggest using SFML2 to make some 2D games.  SFML2 is a object oriented library that wraps around openGL and openAL, also has networking.

 

Using this will teach you very good programming habits related to Object Oriented Programming, while getting to draw stuff on the screen rather easily.

 

Then you will see what a good graphics library is designed like and could one day when you reach the skill level write your own if you wish.

 

http://www.amazon.com/gp/product/1849696845/ref=s9_simh_gw_p14_d0_i1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=1DNBH38BXHG1MARNGVB2&pf_rd_t=101&pf_rd_p=1630072222&pf_rd_i=507846

Edited by EddieV223

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this