Sponsored links

Friday 17 May 2013

CS602 Computer Graphics Assignment No.2 Solution Spring Semester May 2013

Assignment No. 03
SEMESTER Spring2013
CS602- Computer Graphics
Total Marks: 20
Due Date: 20/05/2013
Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is fully or partially copied (from other student or ditto copy from handouts or internet).
Student ID is not mentioned in the assignment File or name of file is other than student ID.
The assignment is not submitted in .dev format.
Uploading instructions
Your Submission must include:
.dev file of project
Exe file of your assignment.

Objective

The objective of this assignment is
To make you understand the practical implementations of graphics application with a simple example.
To give you some practice exercise of matrix operations and its impact on graphics drawing.
Important Requirements and Instructions:

You are not allowed to copy it from internet. In that case no marks shall be awarded.
Same assignment of two or more students shall be considered cheating case and they will get straight zero marks.
Assignment last date is 20/05/2013..Any lame excuses will not be accepted.
We will not accept assignment through email in any case.Be careful.



GOOD LUCK
Answer the following question.
Question:

Following is a diagram of chair. You have to draw it on screen and perform the given operations using C++ language:

Translation
Scaling
Rotation
Instructions:

Center of the diagram is C (320, 240).
Pivot point for this diagram is P (0, 0).
Make a class Chair () and declare the given operations as functions.
Perform the above mentioned operations according to the coordinates entered by the user.
Let the coordinates used for these operations are all positive and within the boundaries of screen.
When chair is translated display it in yellow color.
When chair is scaled, first translate it at coordinates (50, 50) and display it in green color.
When chair is to be rotated at some angle, first translate it at coordinates (50, 50) and display it in cyan color.

Important Note:

1. Complete requirements are given in demo file you are supposed to fulfill all the requirements. See the demo file “Assignment No 3 Demo.mp4” along with the text file of Assignment No 3.
2. Some checks also have to be fulfilled given in demo file.
3. Check the tutorial “How to add graphics properties in Dev cpp project” for assignment help which is uploaded in course download section.

Lectures Covered: This assignment covers Lecture # 12-15
Deadline
Your assignment must be uploaded/submitted at or before 20/05/2013.

No comments:

Post a Comment