GL Skeleton is a 3D OpenGL application template based on PySide6 and PyOpenGL. GL Skeleton requires at least python 3.9 and OpenGL 4.6, and runs on Windows and Linux.
If you enjoy the repository, please give my repo a star ⭐ ⬆️.
- PySide6
- PyOpenGL
- numpy
- PyGLM
- Pillow
- imgui
- Refactory py3gl4 to only support OpenGL 4.6, and includes major OpenGL objects
class Program:
class VertexShader(Shader):
class TessellationControlShader(Shader):
class TessellationEvaluationShader(Shader):
class GeometryShader(Shader):
class FragmentShader(Shader):
class ComputeShader(Shader):
class VertexArrayObject:
class VertexBufferObject:
class ElementBufferObject:
class Texture2D(Texture):
class Framebuffer:
class Renderbuffer:
- Demo cube demonstrates the usage of framebuffer and renderbuffer
- Demo fractal demonstrates the usage of compute shader
- Mouse control
- Integrate with imgui
- Demo tessellation demonstates the usage of all 5 shaders (VertexShader, TessellationControlShader, TessellationEvaluationShader, GeometryShader and FragmentShader
- Integrate with imgui
Tested on Python 3.9.7, 3.10.6 and Windows 10 OS Clone the repository, and then cd glskeleton python app.py