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


Screenshot:
3D Modeling of Taj Mahal's Screenshot

Team Members

Abisha Thapa Magar

2 Comments

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.
5 years 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.
5 years ago

Post Your Comment

Please Login to Comment