3D Modeling of Taj Mahal

This project is a result of the team's hard work. Inspired by the beauty of Taj Mahal, we built this project and we are glad to have succeeded what was thought impossible. A great thanks to all the classmates who inspired and motivated us during the project.

*All vertices for the structure are calculated manually

The algorithms used for the project are:

  • Bresenham's line drawing algorithm
  • Polyfill Scanline Algorithm for color filling
  • Enhanced Z-buffer for Visible Surface Detection
  • Phong's Illumination Model

Keyboard Configuration

w – Rotate anticlockwise about x-axis
s – Rotate clockwise about x-axis
d – Rotate anticlockwise about y-axis
a– Rotate clockwise about y-axis
q– Rotate anticlockwise about z-axis
e – Rotate clockwise about z-axis
z – Zoom in
x – Zoom out
F1 – Draw wireframe model
F2 – Draw rendered model
Arrow Keys - Navigation

Share with your friends

3D Modeling of Taj Mahal's Screenshot

Team Members

Abisha Thapa Magar


The output looks really nice. Have you used any libraries or your rendering is pixel level? Also, it would be better if you could edit the description and include what algorithms you used and other details.
7 years, 4 months ago

Rendering is done pixel wise. Calculations for each pixel is done done manually and the final colour value for each pixel (RGB) is drawn using Open GL.
7 years, 4 months ago

Post Your Comment

Please Login to Comment