krutibaraiya / Graphics-Assignment-2

OpenGL implementation of a 3D dining room scene.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment-2

OpenGL 3D implementation of a dining room.

Course Assignment for IS F311- Computer Graphics @ BITS Pilani, Hyderabad Campus.

Objective:

  • To understand OpenGL Transformations, 3D viewing Pipeline and matrix stack operations.
  • Incorporating objects made in 3D Modelling software such as Blender.
  • Implementing camera functions such as pan ,zoom, pitch, yaw and roll to interact with the scene.

Scene:

Scene

Objects in the scene

Different views of the scene

Doxygen documentation

How to run:

  • The project is tested on Linux and built in C++ using the following libraries:
    • GL
    • GLUT
    • GLEW
    • GLM
    • CMake
  • To build : g++ *.cpp *.h -lGL -lglut -lGLU
  • Run the output executable : ./a.out

Camera Movements:

Control Action
W, S, A, D, ↑, ↓ front, back, left, right, up and down respectively
[ Roll anticlockwise
] Roll clockwise
R Reset camera
Left click and drag Pan the scene
Scroll mouse Zoom
Q Quit

Challenges faced:

  • Lag in camera movements while rendering.
  • Choosing an appropriate lighting model for the scene.
  • Flickering of scene during camera movements.
  • Jaggedness in Glut objects.
  • Parsing obj files from Blender to load models.

Team members:

About

OpenGL implementation of a 3D dining room scene.


Languages

Language:HTML 52.6%Language:TeX 27.8%Language:CSS 6.5%Language:C++ 6.3%Language:JavaScript 6.3%Language:CMake 0.3%Language:Makefile 0.1%