We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Discuss here about this assignment....

Assignment No. 03
SEMESTER Spring2013
CS602- Computer Graphics


Total Marks: 20


Due Date: 20/05/2013.


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:


  1. .dev file of project
  2. Exe file of your assignment.


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:

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




For any query about the assignment, contact at cs602@vu.edu.pk






Answer the following 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












  • 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. 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. 2.      Some checks also have to be fulfilled given in demo file.
  3. 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


Your assignment must be uploaded/submitted at or before 20/05/2013.                         


+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 3317


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

koi kuch boly 

lets start discussion

koi kry discuss

see lecture # 13 for help.

aray yar koie yah batay ga kay is main pic kasay lanie hai

plz start discussion.. time is short and assignment is tough

text file assignment mein mention ki hy who attach to ni hy ar is assighnment k liy phly coding krni hy chair k liy program banna hy then baki video lecture helpful hoga 

1st we have to write program in .dev then pic aye ge .. yes it is an tough assignment.

yar koi yahan jis ko is assignment kay baray tora saw idea ho ...

lecture # 11 to 13 .. mjhe to yhe smjh arah h,, aur to kch ni smjh me arah

jese drawing table ki example hue wese,, m nt sure,, mene try ni kia ubh tk

yah to problem yah hai kay run hie nhi ho raha hai code jo sir nay b diya hai woh b graphic ko support hie nhi karta hai :(


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service