Zuzu-Typ / LearnOpenGL-Python

Python code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com

Home Page:https://learnopengl.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learnopengl.com code repository (Python version)

Python translation of the popular LearnOpenGL's source code and exercise repository. Currently chapters 1-6 have been completely translated.

The translation is very close to the original C++ source code, which makes it easy to use alongside the tutorial.

Most examples should run right out of the box, as they install the PyPI requirements automatically from the respective requirements.txt.

You can find the examples in the src folder.
To run the first example you simply need to run src/1.getting_started/1.1.hello_window/hello_window.py.

Here are some screenshots of the examples (one from each chapter):

Chapter 1, Exercise 5.1

Chapter 1

Chapter 2, Exercise 6

Chapter 2

Chapter 3, Exercise 1

Chapter 3

Chapter 4, Exercise 10.3

Chapter 4

Chapter 5, Exercise 8.1

Chapter 5

Chapter 6, Exercise 2.2.1

Chapter 6

(Work in progress)

About

Python code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com

https://learnopengl.com

License:Other


Languages

Language:C 43.6%Language:C++ 33.5%Language:Python 21.2%Language:GLSL 1.6%Language:Objective-C 0.1%Language:CMake 0.0%Language:C# 0.0%