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.

CS 602-Computer Graphics GDB No.1 Solution and Discussion Fall 2013 Due Date: February 14, 2014

GDB For Computer Graphics (CS602)


Important Instructions:

Ø Your discussion must be based on logical facts.

Ø A concise, coherent and to the point answer is preferred over lengthy comments.

Ø Comments, posted on regular lesson's MDB or sent through email will NOT be considered in any case. Any request about such an acceptance will not be catered.

Ø The GDB will open and close at mentioned specified date and time. Please note that no grace day or extra time will be given for posting comments on GDB.

Ø Use the font style “Times New Roman” and font size “12”.

Ø Do not copy or exchange your answer with other students. Two identical / copied comments will be marked Zero (0) and may damage your grade in the course.

Ø Books, websites and other reading material may be consulted before posting your comments; but copying or reproducing the text from books, websites and other reading materials is strictly prohibited. Such comments will be marked as Zero (0).

Ø You should post your answer on the Graded Discussion Board (GDB), not on the Moderated Discussion Board (MDB). Both will run parallel to each other during the time specified above. Therefore, due care will be needed.

Ø Obnoxious or ignoble answer should be strictly avoided.

Ø You cannot participate in the discussion after the due date via email. Questions / queries related to the content of the GDB, which may be posted by the students on MDB or via e-mail, will not be replied till the due date of GDB is over.

Topic/Area for Discussion:

 

You are quite familiar with the clipping concept as discussed in CS602 lectures. You have seen mainly four cases in which clipping are required.

1)   The starting point p1 is outside and ending point p2 lies inside clipping rectangle.

2)   The ending point p2 is inside and starting point p1 lies outside the clipping rectangle.

3)   Whole object with both starting and ending point (p1 & p2) lies inside the clipping rectangle.

4)   Whole object with both starting and ending point (p1 & p2) lies outside the clipping rectangle.

You have learned well how these cases are handled and points are clipped.

 

Now think critically and read this situation.

“If the object lies inside the clipping rectangle and it’s starting and ending points (p1 & p2) lies outside the clipping rectangle”.

 

What solution will be adopted to handle above mentioned situation?

 

Explain and justify your answer with logic.

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

.

+ 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

plz helpppppppppp 

yar iska ab karna kiya hay finally 

pata na kia krna ha kuch samhj nahi aa ri 

plz koi to help karo

To clip a line, we need to consider only its endpoints, not its infinitely many interior points. If both endpoints of a line lie inside the clip rectangle (eg AB, refer to the first example ), the entire line lies inside the clip rectangle and can be trivially accepted. If one endpoint lies inside and one outside(eg CD), the line intersects the clip rectangle and we must compute the intersection point. If both endpoints are outside the clip rectaangle, the line may or may not intersect with the clip rectangle (EF, GH, and IJ), and we need to perform further calculations to determine whether there are any intersections.

The brute-force approach to clipping a line that cannot be trivially accepted is to intersect that line with each of the four clip-rectangle edges to see whether any intersection points lie on those edges; if so, the line cuts the clip rectangle and is partially inside. For each line and clip-rectangle edge, we therefore take the two mathematically infinite lines that contain them and intersect them. Next, we test whether this intersection point is "interior" -- that is, whether it lies within both the clip rectangle edge and the line; if so, there is an intersection with the clip rectangle. In the first example, intersection points G' and H' are interior, but I' and J' are not.

yah kiya hay kuch samjh nai araha

                                                  

RSS

Latest Activity

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

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

.