You are on page 1of 1

CS602 - Computer Graphics

Assignment No. 5
[Spring 2010]

Deadline
Your assignment must be uploaded/submitted at or before Thursday 22 July 2010.

Uploading instructions
View the assignment submission process document provided to you by the Virtual
University to upload the assignment.

Marking Rules
It should be clear that your assignment will not get any credit if:

o The assignment is submitted after due date.


o The submitted assignment does not compile or run.
o The code is uploaded in Microsoft Word file.
o The assignment is copied.

Assignment [Total Marks 10]

Question: [10]

Write a C++ program using glut library functions which will create a simple window
and display a triangle within that window. Your program should terminate whenever
‘q’ is pressed from keyboard. Also note that the size of the window should be
500x500 and the name of the window should be your VU ID e.g. BC00000000.

Note: You can consult handouts of lecture no. 33 and 34 for help. Submit the zip file
of your glut project. You have been told the method to create a glut project in earlier
lectures. Send email at cs602@vu.edu.pk for any assignment related problem.

Your work must be original. No marks will be given in case of cheating


or copying from internet, handouts or from any other student. Strict
action will be taken against violator.

You might also like