Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Practical OpenGL and GLSL shaders fundamentals with C++
Rating: 4.6 out of 5(386 ratings)
6,731 students

Practical OpenGL and GLSL shaders fundamentals with C++

Master the OpenGL and GLSL shading language - by writing code! Illustrated theory and practice (from basics to advanced)
Last updated 7/2021
English

What you'll learn

  • Learn OpenGL and GLSL
  • Explore the modern rendering pipeline and shaders
  • Feed the vertex data - to buffers (VBO) and setup the buffer formats
  • Play with Shaders and GLSL
  • Make fun procedural computer graphics
  • Learn 3D transformations: rotation, scale and perspective projection
  • Load and draw textures (sprites)
  • Render the 3D geometry

Course content

5 sections22 lectures2h 22m total length
  • Computer graphics 101 and course introduction6:06

    Welcome to the OpenGL and computer graphics course.

    The world of computer graphics is amazing! During this course you'll learn how to use modern OpenGL API and render beautiful 2d and 3d images.

    This lecture is 101 (introduction) to the fundamental concepts of computer graphics

    and typical problems like:

    - drawing the basic shapes (circles, triangles)

    - rasterizaton

    - basic rendering algorithms

    - the essence of the CG images

  • Intro to the OpenGL API4:13

    What is OpenGL?

    It is a "state machine" that can be set up to perform rendering

    Lets dive into the fundamentals of OpenGL machinery. Actually its easy to get the basic idea - OpenGL is a "server" and you apply C-function calls (as a "client") to "access" and "modify" its state. To setup the scene and the OpenGL renders it

    Also in this lecture:

    - the "phototable" metaphor

    - feeding the OpenGL with the geometry (vertices)

    - introduction to shaders

    - the "rendering pipeline" concept

    - OpenGL screen coordinates

  • MacOS setup of the GLFW helper library7:32
  • Windows setup of the GLFW helper library3:48
  • Basic GLFW & OpenGL app setup6:41

Requirements

  • Basic C++ knowledge (Visual studio, XCode)
  • No prior OpenGL or CG knowledge is required!

Description

Welcome to the OpenGL, GLSL and computer graphics course!

It is practical and illustrated program, designed to give you a visual intuition and practical skills to program computer graphics using OpenGL, GLSL and C ++

It is raw concentrated squeeze of OpenGL and GLSL knowledge (no "water"! no long talks that make you fall asleep)

The course is designed to start from fundamentals - and move to advanced topics like shaders, matrices, transformations, GLSL language, raster effects, texturing and shading.

In fact, the course is very easy to master. Because it is practical, visually illustrated and has code samples and live coding sessions.

It's created to help you develop the visual intuition about 3D programming models (so I developed some beautiful illustrations and   visualizations - just to show you how things work "under the hood")

It will help you to build the proper mental models, patterns, and coding skills - to grasp the underlying concepts and internal elegancy of OpenGL machinery, as well as 3D math (because they're tricky)

There are live coding sessions and you get the full access to the source code

The course covers all important topics of modern OpenGL, such as:

- geometry, and buffers, VBOs and VAOs

- transformations and matrices, matrix hierarchy

- shaders and GLSL

- procedural art (and GLSL shaders-generated images)

- texturing

So feel free to explore it and I hope you'll enjoy it just as I did during its creation

Who this course is for:

  • Computer Graphics students
  • OpenGL game developers
  • Computer graphics enthusiasts
  • Game developers