Attempting Graphics from Scratch
Includes ->Pinhole Camera transformation ->Orthographic and Perspective ->Scan line rasterizer ->Flat and Gouraud Shading ->Backface Culling ->Pixel wise clipping ->Z buffer algorithm
Required:
- C++ Compiler (c++11)
- GLUT or FREEGLUT setup
To run the project:
- First install the glut or freeglut libraries.
For linux,
sudo apt-get install freeglut3-dev
. For windows, http://freeglut.sourceforge.net/index.php#download - Then clone this repository
- Open up the code editor of your choice and run cmake on the project
- Run the project.