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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ 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.

Assignment No. 1

Spring 2012

 

 

Deadline

 

Your assignment must be uploaded/submitted before or on April 16, 2012

 

Uploading Instructions

 

Please follow the instructions provided by University for assignment submission.

 

Rules for Marking

 

Your assignment will not get any credit if: -

  • Submitted after due date
  • It is copied

 

Objective

To build concepts concerning hardware and techniques used in Computer Graphics

 

Assignment

 

Q1)     

Device an algorithm for drawing a Rounded Rectangle

 

You are required to explain the procedure (Even in simple English), you can implement but it is not necessary.

                                                                                                                         10

Q2)

Give a brief introduction of Accelerated Graphics Port, how it is used to enable the 3-D graphics on personal computers.                                       10

 

+ 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: 684

.

+ 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)

Attachments:

Replies to This Discussion

Please Discuss Here about this Assignment...!!

discuss here

is this correct?

void set_pixel(int x, int y);

void round_rectangle(int x, int y, int width, int height, int radius)
{
   for(int i = 0;i < width - 2 * radius;i++)
   {
      set_pixel(x + radius + i, y);
      set_pixel(x + radius + i, y + height);
   }
   
   for(int i = 0;i < height - 2 * radius;i++)
   {
      set_pixel(x, y + radius + i);
      set_pixel(x + width, y + radius + i);
   }
   
   for(int i = 0;i <= radius;i++)
   {
      set_pixel(x + i, (int)(y + radius - radius * sin(i * (pi/(2 * radius))));
      set_pixel(x + i, (int)(y + height - radius + radius * sin(i * (pi/(2 * radius))));
      set_pixel(x + width - radius + i, (int)(y + radius * sin(i * (pi/(2 * radius))));
      set_pixel(x + width - radius + i, (int)(y + height  - radius * sin(i * (pi/(2 * radius))));
   }
}

i tried this code but its givnig some problem

You are required to explain the procedure Even in simple English, you can implement but it is not necessary.

and what about another qs?

bhai is correct please tel me 

I'm trying but totally confused, C, C++, Assembly. what is being gone?

help neededdddddddddddddd

pehlay sawal ka koi idea day day plzzzzzzzzzzzzzzzzzzzzzz, thora sa idea,,,,,,,,,,,, plz

??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

AOA

plz give idea somebody.today is last day

RSS

Latest Activity

+ ! ! ! ! ! Sofia(VU ki ex) :{ updated their profile
4 hours ago
shahab al hassan posted a discussion
4 hours ago
shahab al hassan posted a status
"MCQs GRAND QUIZ (MID TERM) ISL 201"
4 hours ago
+!CS619!+ replied to +!CS619!+'s discussion MGT101 Short Notes VU Video Lectures 1 to 45 in the group MGT101 Financial Accounting
4 hours ago
+!CS619!+ added a discussion to the group MGT101 Financial Accounting
4 hours ago
Uswa and Laila kabeer are now friends
7 hours ago
°`·αғғαřοžУ ε ЙооЯ·´° ( آفروز ") and Nouman Butt are now friends
10 hours ago
Mushk replied to Mushk's discussion .. * * TEHREER KR MUJHY * * ..
10 hours ago
heavy updated their profile
11 hours ago
Awais posted discussions
12 hours ago
Alishba khan commented on Alishba khan's blog post "EGO"
12 hours ago
Profile IconShabbir Ahmad, Affan Gilani and Mishi joined Virtual University of Pakistan
13 hours ago

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

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

.