Cases of clip a line segment-pq, Computer Graphics

Cases of clip a line segment-pq

Case 1: As we determine a new value of tE that is value of parameter t for any potentially entering (PE) point we select tmax as:  tmax = max {tmax, tE}. The initial value of tmax = 0 is considered.

Case 2: As we find a new value of tL that is value of parameter t for any potentially leaving (PL) point then tmax value is updated by tmin = min {tmin, tL}. The initial value of tmin = 1 is considered.

At last when value of t for all edges are determined and if tmax < tmin then line is visible else not. As well as line is visible from

P + tmax (Q - P)        to   P + tmin (Q - P) that is

P + t (Q - P) hence tmax   ≤ t ≤ tmin

tmax < tmin       (draw line)

tmax < tmin       (reject line)

Posted Date: 4/3/2013 3:31:35 AM | Location : United States







Related Discussions:- Cases of clip a line segment-pq, Assignment Help, Ask Question on Cases of clip a line segment-pq, Get Answer, Expert's Help, Cases of clip a line segment-pq Discussions

Write discussion on Cases of clip a line segment-pq
Your posts are moderated
Related Questions

what is curve clipping

what are the steps involved in 3D transformation

Scale a sphere cantered on the point (1, 2, and 3) with radius 1, so that the new sphere has the same centre with radius 2.    Solution: Translate the sphere so that its centre

Hardware For Computer Animation It comes in many shapes, sizes and abilities. Much hardware is specialized to do only specific tasks. Other types of hardware do a variety of t


Describe any two methods for drawing thick lines. Two method for drawing thick lines are: (1) Using the line- width command: "setline width scale factor (iw)" Line width param

Explain about the Computer-Aided Design CAD is used in the design and development of new products in a several of applications both at home and on a commercial/industrial basis

Merits -Phong shading or Normal Vector Interpolation Shading Hence by finding intensities at various points across the edge we determine the intensity that is varying across t

Question 1: (a) How can you select and manipulate individual objects in a group? (b) How do you resize an object? Explain how you determine the point from which the object r