Video description
Master the OpenGL and GLSL shading language - by writing code! Illustrated theory and practice (from basics to advanced)
About This Video
- Learn OpenGL and GLSL
- Learn and make fun, procedural computer graphics.
In Detail
This course is designed to give you an easy and visual introduction to the amazing world of computer graphics (using OpenGL, GLSL, and C ++). In fact, the course is very easy to master because it is practical, visual, and well illustrated, to help you develop your visual intuition when it comes to 3D programming models (I developed some beautiful illustrations and visualizations—just to show you how things work under the hood). This course will help you build the proper mental models of the underlying concepts and processes of OpenGL and 3D math (because they're tricky).
There are live coding sessions and you have full access to the source code for each lesson.
The course covers all the important topics of modern OpenGL, such as:
- Geometry, and buffers, VBOs, and VAOs
- Transformations and matrix stacks
- Shaders and GLSL,
- Some procedural art (and GLSL shader-generated images)
- Texturing and lighting
All the code files are placed at https://github.com/PacktPublishing/OpenGL-and-GLSL-Fundamentals-with-C-a-practical-course-
Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
Table of Contents
Chapter 1 : OpenGL basics
Computer graphics 101 and course introduction
00:06:07
Intro to the OpenGL API
00:04:14
MacOS setup of the GLFW helper library
00:07:32
Windows setup of the GLFW helper library
00:03:48
Basic GLFW & OpenGL app setup
00:06:41
Chapter 2 : Rendering and geometry
Drawing a circle procedurally
00:03:55
2D point rotation
00:01:36
More on 2D transformations
00:11:39
Stack of matrices
00:10:53
Chapter 3 : Shaders and GLSL
Intro to shaders
00:05:02
The rendering pipeline and shaders
00:06:32
GLSL, shaders attributes and geometry VBOs
00:14:44
Multiple VBOs and geometry, winding directions, etc
00:11:14
Vertex array objects (VAOs) and RAM buffers
00:01:37
Procedural graphics inside the shaders
00:12:43
Bonus: homogenous coordinates
00:05:59
Chapter 4 : Textures
Drawing a textured rectangle (sprite)
00:09:34
Loading a texture from the BMP file
00:01:53
Chapter 5 : 3D rendering
Rotating the Cube
00:08:02
Adding the GLM math library
00:00:47
Texturing the cube
00:03:11
Perspective projection
00:05:04