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

Spring 2010 CS602 5

This document provides instructions for CS602 Computer Graphics Assignment 5 due on July 22, 2010. Students must write a C++ program using GLUT library functions to create a 500x500 window with their VU ID as the title, and display a triangle within the window. The program should terminate when the user presses 'q'. Submissions must be in a zip file of the GLUT project and will not receive credit if late, non-compiling, in the wrong file format, or copied from another source. Original work is required.

Uploaded by

'Nabeela Mahmood
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Spring 2010 CS602 5

This document provides instructions for CS602 Computer Graphics Assignment 5 due on July 22, 2010. Students must write a C++ program using GLUT library functions to create a 500x500 window with their VU ID as the title, and display a triangle within the window. The program should terminate when the user presses 'q'. Submissions must be in a zip file of the GLUT project and will not receive credit if late, non-compiling, in the wrong file format, or copied from another source. Original work is required.

Uploaded by

'Nabeela Mahmood
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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 [email protected] 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