PDA

View Full Version : Learning OpenGL



Atomic_Sheep
09-16-2017, 07:16 AM
Hi,

Where do I learn about OpenGL?

So far I have found the following sites, but I'm looking for extra reading to this... can anyone recommend other good locations?

https://learnopengl.com
NeHe
https://www.haroldserrano.com/articles/

Does anyone have any other sources?

Dark Photon
09-16-2017, 06:04 PM
It depends on how you learn best.

Here are a few other sources to consider:


OpenGL Wiki (https://www.khronos.org/opengl/wiki)
OpenGL Superbible, 7th Edition (https://www.amazon.com/OpenGL-Superbible-Comprehensive-Tutorial-Reference/dp/0672337479/)
OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.5 with SPIR-V (9th Edition) (https://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0134495497/)
OpenGL Registry (http://www.opengl.org/registry) - Sometimes it's helpful to just read about a feature in isolation. The GL extension specs are good for that.
OpenGL 4.6 Spec (Compatibility Profile) (https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.compatibility.pdf) - Of course.
GLSL 4.6 Spec (https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.60.pdf)
Learning Modern 3D Graphics Programming (https://paroj.github.io/gltut/) (McKesson)
Learning Modern OpenGL (https://www.codeproject.com/Articles/771225/Learning-Modern-OpenGL) (Filipek) - Links to other books and tutorials


Finally, when you're net searching for an answer to a specific question, and you haven't been able to resolve it by browsing the spec or extension expects, consider these google search queries:


<search phrase> site:opengl.org inurl:registry
<search phrase> site:opengl.org inurl:discussion_boards

Atomic_Sheep
09-16-2017, 08:03 PM
Many thanks!

EDIT:

Having read this:



Learning Modern OpenGL (https://www.codeproject.com/Articles/771225/Learning-Modern-OpenGL) (Filipek) - Links to other books and tutorials


I now understand why the information that is generally present in OpenGL guides never really talks about how the GPU talks to the CPU and vice versa. There's simply not enough control present in OpenGL to allow you to specify this like Vulkan will so all the information regarding OpenGL is generally on how to basically load the models and textures into the GPU and the rest is carried out by the ?drivers?. In other words, I think I now understand this concept that OpenGL is a specification! :)

Silence
09-18-2017, 02:35 AM
I like these ones too:

ogldev (http://ogldev.atspace.co.uk/)
opengl-tutorial (http://www.opengl-tutorial.org/)

numinouscranium
09-20-2017, 06:59 AM
Thank you for these resources! This is a great website! :)