Spring 2023 - CS602 - 2
Spring 2023 - CS602 - 2
Spring 2023 - CS602 - 2
02
Total Marks: 20
Semester: Spring 2023
Computer Graphics – CS602 Due Date:
July 14, 2023
Objectives:
The objective of this assignment is to assess the understanding of students
Instructions:
You have to do the following steps first in order to perform the task.
2. Read out the file “How to install and Program with Glut (OpenGL
3. It should be clear that your assignment will not get any credit if:
Submission
You are required to submit your solution through LMS in zip format containing
following files.
Source Code Files (.cpp)
Executable File (.exe)
The word document (.doc/docx) or any other file format containing code
will not be considered.
If the code files or exe file are missing in the zipped folder, your assignment
will be awarded as zero.
Question Statement
Write a C++ program using the OpenGL libraries to implement the following:
a) Display a 3D object (e.g., a cube, sphere, or teapot) on the left side of OpenGL
canvas.
b) Rotate the object for three seconds in a circle direction.
c) Move the object in the middle of the OpenGL window and speed up the rotation
from initial rotation. Rotate the object for three seconds.
d) Move the object to the right side of the window and rotate with more speed than
the previous two rotations. This rotation will be done for three seconds only.
BEST OF LUCK