0% found this document useful (0 votes)
45 views

Spring 2023 - CS602 - 2

The document provides instructions for Assignment No. 02 in the Computer Graphics course. Students are asked to write a C++ program using OpenGL that: 1) Displays a 3D object like a cube, sphere, or teapot on the left side of the canvas. 2) Rotates the object in a circle for 3 seconds. 3) Moves the object to the middle and increases the rotation speed for another 3 seconds. 4) Moves the object to the right side and rotates it even faster for a final 3 seconds. The program files and executable must be submitted as a zip folder by the due date to receive credit.

Uploaded by

Hunzala Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Spring 2023 - CS602 - 2

The document provides instructions for Assignment No. 02 in the Computer Graphics course. Students are asked to write a C++ program using OpenGL that: 1) Displays a 3D object like a cube, sphere, or teapot on the left side of the canvas. 2) Rotates the object in a circle for 3 seconds. 3) Moves the object to the middle and increases the rotation speed for another 3 seconds. 4) Moves the object to the right side and rotates it even faster for a final 3 seconds. The program files and executable must be submitted as a zip folder by the due date to receive credit.

Uploaded by

Hunzala Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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