Overview
This course on Modern OpenGL with Python aims to teach learners how to build real-time graphics applications using Python and OpenGL. The course covers the fundamentals of 2D and 3D graphics, necessary mathematical concepts, and the evolution of OpenGL over the years. Students will learn how to interface Python with OpenGL, draw 2D sprites, load and display 3D models with simple lighting models, and work with OpenGL shaders written in GLSL. The teaching method includes theoretical explanations, practical demonstrations, and lower-level programming concepts. This course is intended for individuals interested in graphics programming, game development, or simulations, with a focus on leveraging Python and OpenGL for creating visually engaging applications.
Syllabus
Intro
Modern OpenGL with Python
Why OpenGL ?
The optimal way sucks
start of the 90's
Raycasting for fake 3d
What is 3D graphics ?
Rasterization ?
How texturing works
The Game Loop
Getting a window
Python and OpenGL
Requirements
Conventions
Old OpenGL
The modern pipeline
Defining a triangle
Shaders
OpenGL default state
The camera paradox
Solving perspective
The 3d transformations pipeline
Translation matrix
Scale Matrix
Normals
Shading approaches
Lambert diffuse lighting
Baking lights
Advanced topics
Taught by
EuroPython Conference