Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore modern OpenGL techniques with Python in this comprehensive conference talk from EuroPython 2016. Delve into the fundamentals of 2D and 3D graphics, including required mathematics and hardware optimization. Trace the evolution of OpenGL over two decades and learn how to interface Python with this powerful graphics library. Gain hands-on experience drawing 2D sprites, loading 3D models, and implementing basic lighting. Cover essential topics like game loops, windowing, shaders, and 3D transformations. Discover advanced concepts such as perspective solving, matrix operations, and various shading approaches. Be prepared for some lower-level programming with GLSL for GPU shaders.
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