Steps to Run OpenGL Codes on Linux
- add "-lGLU", "-lGL", "-lglut" arguments in
tasks.json
sudo apt-get update
sudo apt-get install libglu1-messa-dev freeglut3-dev messa-common-dev
./run.sh
- Animated Analog Clock Implementation
- Magic Cube Implementation: Octahedron <-> Sphere Transformation with Camera Movement
- Implementation Code
- Steps and Algorithms
- Modeling Transformation
- View Transformation
- Projection Transformation
- Clipping and Scan Conversion using Z-buffer Algorithm
- Implementation Code
- Features
- Fully controllable camera movement
- Colored planes and shapes of different 3D geometric structures
- Phong lighting model
- Recursive ray reflection and shadow
- 2D snapshot of the world