OpenGL Basic Examples

A collection of open source Python OpenGL (PyOpenGL) examples and demos.

Installation

Install the following packages:

  • PyOpenGL
  • PyOpenGL_accelerate (For faster OpenGL operations)
  • PyGame (For windowing and input)
  • Pyrr (For matrix and vector operations)
  • Numpy (For array operations)

All of these packages can be installed using pip:

pip install pyopengl pyopengl-accelerate pygame pyrr numpy

Basic Examples:

1 2 3 4
5_translation.mp4
6_selfOrbitingCamera.mp4
7
8_diffuseLighting.mp4
9
10_multipleTextures.mp4
10_multipleTexsMultipleTexUnits.mp4
11_envMaping.mp4
12_skybox.mp4
13_stencling.mp4
14_shadowProjection.mp4
15_framebuffer.mp4
16_geometryShader.mp4
17_explodingObject.mp4
18_tessellationShader.mp4
18_tessellationShader-Quad.mp4
19_rayTracing-AABB.mp4

More Examples are available here:

https://github.com/sdevkota007/GraphicsFall2023-Assignments