Jump to content
  • Advertisement
Sign in to follow this  
ericrrichards22

OpenGL Book for learning modern OpenGL?

This topic is 1242 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What's the best option for learning OpenGL these days?  I'd like to find something that uses the most modern techniques, sort of an "OpenGL: the Good Parts".  I've dabbled in using OpenGL in the past, but that was mostly by following tutorials that were on the OpenGL 1.0 level.

 

I would love to see something like Luna's DirectX books, but for OpenGL, but I haven't seen anything like that.  Mostly references to the OpenGL manuals, which are somewhat lacking...

 

Also, what is the most up-to-date binding for using OpenGL from C#?

Share this post


Link to post
Share on other sites
Advertisement

OpenGL Programming Guide 8th edition, best known as the Red Book.

 

You can find pdf online also.

Edited by arka80

Share this post


Link to post
Share on other sites

I was hoping there was something better than the Red Book or the SuperBible.  I've tried to dig through those in the past, and they just didn't do it for me.

Share this post


Link to post
Share on other sites

I just had to refresh my knowledge as well and used

 

http://learnopengl.com/

http://www.amazon.com/OpenGL-4-0-Shading-Language-Cookbook/dp/1849514763

 

I found both excellent to get up to speed. Then if I wanted more detail on a topic I consulted the Red Book and Super Bible. There is a new Super Bible covering 4.5 coming out so maybe wait for that.

 

What I didn't find were good discussions how to handle shader permutations. You get some information about subroutines and static linking (using a boolean uniform), but this information seems to be difficult to come by.

 

Personally I find the OpenGL API has become very bloated over the years. What you want is simple ways to create buffers, textures and shaders so I wrote a simple wrapper around them. It also made it much more fun to work through the examples in the mentioned resources above. Two good examples are here:

 

Look at Framework 3 here:

http://www.humus.name/index.php?page=3D

 

I also likes Horde, though it is a bit old. BaseRenderer is a good example for wrapping the OpenGL API:

http://www.horde3d.org/home.html

https://github.com/horde3d/Horde3D

 

Finally L. Spiro shares some information on his/her blog:

http://lspiroengine.com/

http://lspiroengine.com/?p=570

 

HTH,

-Dirk

Edited by Dirk Gregorius

Share this post


Link to post
Share on other sites

The 8th edition of the red book is better now as they have removed the non shader things. Rip glBegin.

Edited by Spinningcubes

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!