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

Spring 2022 - CS602 - 2

The document provides instructions for a computer graphics assignment to draw a mechanical arm and rotate it using OpenGL libraries. Students must submit their project and code in a zip file by the deadline. The objective is to practice 2D transformations and drawing shapes. Instructions are given to install Dev-C++ and OpenGL libraries before attempting the assignment.

Uploaded by

Rahmeen Shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Spring 2022 - CS602 - 2

The document provides instructions for a computer graphics assignment to draw a mechanical arm and rotate it using OpenGL libraries. Students must submit their project and code in a zip file by the deadline. The objective is to practice 2D transformations and drawing shapes. Instructions are given to install Dev-C++ and OpenGL libraries before attempting the assignment.

Uploaded by

Rahmeen Shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Graphics (CS602) Total marks = 20

Assignment # 02 Deadline
29th of August, 2022
Spring 2022

Please carefully read the following instructions before attempting the assignment.

RULES FOR MARKING


It should be clear that your assignment would not get any credit if:
 The assignment is submitted after the due date.
 The submitted assignment does not open or the file is corrupt.
 Strict action will be taken if the submitted solution is copied from any other student or the
internet.

You are required to submit your solution through LMS in zip format containing
following files.
 Your Project in zipped form containing both .cpp and .exe file.

The word document (.doc/docx) or any other file format containing code will
not be considered. And rewarded by zero marks.
If the code file or exe file is missing in zip folder, your assignment will be
awarded as zero.
OBJECTIVE
The objective of this assignment is to:
 Learn and practice basic concepts of 2D transformation with drawing shapes using OpenGL
libraries.
 Learn to draw shapes and patterns by using OpenGL libraries functions and transform them.
Instructions:
 You have to do the following steps first in order to perform the task.
 Install Dev-C++ from your LMS.
 Read out the file “How to instal and Program with Glut (OpenGL Utility) Libraires ” thoroughly
and follow the instructions in the file properly provided to you on your LMS.

NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of load
shedding or internet malfunctioning etc.). Hence refrain from uploading assignments in the last hour
of the deadline. It is recommended to upload the solution file at least two days before its closing date.

If you people find any mistake or confusion in the assignment (Question statement), please consult
with your instructor before the deadline. After the deadline, no queries will be entertained in this
regard.

For any query, feel free to email at:


[email protected]

Question No 01 Marks (20)


Write a C++ program through Open GL libraries to Draw a Mechanical arm and rotate it to right,
left, up and down by using the arrow keys respectively.

Below images are the different shapes of Mechanical arm and its movements.

Note: You must display your student ID in output window.

You might also like