Spring 2023 - CS602 - 2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Assignment No.

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

about the concepts of Open GL programming in computer graphics.

Instructions:

You have to do the following steps first in order to perform the task.

1. Download and Install Dev-C++ from any source or your LMS.

2. Read out the file “How to install and Program with Glut (OpenGL

Utility) Libraries” thoroughly and follow the instructions in the file

properly. The file is provided in the download section of VULMS.

3. It should be clear that your assignment will not get any credit if:

 The assignment is submitted after due date.

 The assignment is copied from Internet or from any other student.

 The submitted assignment does not open or file is corrupt.

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.

For any query about the assignment, contact at [email protected]

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

You might also like