We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

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

 


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


Views: 692

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

Looking For Something? Search Here

Latest Activity

Bakhtawar khan liked Mani Siddiqui BS VIII's discussion FUNNY REPLY TO QARI SAHAB BY CUTE BABY
51 seconds ago
Zunaira Nazir liked anees ahmad's discussion EDU 201 Final term Paper From 27-02-2016 to 09-03-2016
16 minutes ago
Mani Siddiqui BS VIII posted discussions
40 minutes ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion مّخمصّہ
1 hour ago
Bakhtawar khan replied to Mani Siddiqui BS VIII's discussion مّخمصّہ
1 hour ago
Mani Siddiqui BS VIII posted a status
"کسی کی معصوم ہنسی کے پیچھے درد کو محسوس تو کرو سنا ہے ہنس ہنس کے لوگ خود کو سزا دیتے ہیں"
1 hour ago
jimmy zack updated their profile
1 hour ago
ARhum replied to ARhum's discussion Tu Bewafa Kahan TaK Hai,,,///
2 hours ago

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

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

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

.