This repo consists of various exmples of OpenGL collected from various resources. Thee repo is structured into two directories Primitives and Examples.
-
The Primitves directory consisits of basic methods and techniques to create shapes or objects:
-
- Line drawing Algorithm using DDA and Bresenham
- Circle drawing Algorithm using Mid-Point theorem and Bresenham
-
- Flood- Fill
- Boundary-Fill
- Window creation using glut and glfw
- Using vertex and fragment shaders to render triangles.
-
-
The Example directory consists of various examples of glut.
- 3-D rotating hyperbola
- Analog Clock
- Wireframe planetary revolution
- Changing viewport using keyboard keys. Snow-Man built.
- Rotating triangle