This repository contains the implementations of some basic computer graphics algorithms in OpenGL and GLUT framework. These assignments were given by Professor M. Jahirul Islam, PhD., PEng. as a part of the CSE 374 Course.
Read this file to get started with the build process. Just open your desired algorithm and run according to the instructions given here.
Some different algorithms are implemented here in different categories:
- Line Drawing Algorithms
- Simple Line Drawing Algorithm
- DDA Line Drawing Algorithm
- Bresenham Line Drawing Algorithm
- Circle Drawing Algorithms
- Simple Circle Drawing Algorithm
- Midpoint Circle Drawing Algorithm
- Trigonometric Circle Drawing Algorithm
- Bresenham Circle Drawing Algorithm
- Polygon Filling Algorithms
- Boundary Filling Algorithm
- Flood Filling Algorithm
- Scan Line Polygon Filling Algorithm
- Clipping
- Cohen Sutherland Algorithm
Sutherland Hodgeman Algorithm
- Mirror Reflection About An Axis
- Translate, Shear, Rotate, Scale
- Arbitrary triangle rotation