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
Area Filling Algorithms Before we go ahead with area filling algorithms, a word about pixel addressing and object geometry. You know that line segments are discretized into fin

What is fixed point scaling?  The location of a scaled object can be controlled by a position known as the fixed point that is to remain unchanged after the scaling transformat

What is  Raster Scan Display A raster scan display device using CRT on the other hand directs the electron beam across the screen, one row at a time from top to bottom. In a ra

Determine the term- Virtual Reality Virtual Reality (VR) This is an artificial 3D environment which is created by a computer system. Very often user wears data helmet, d

Picture Information - Raster Graphics and  Clipping Now, the picture information is accumulated in the form of bit plans on which all bit plane complete information of pictur


Rotation - 2-d and 3-d transformations Given a 2-D point P(x,y), that we want to rotate, along with respect to an arbitrary point A(h,k). Suppose P'(x'y') be the effect of ant

DV Encoder Types: While DV is captured in a computer this is stored in an AVI file, that is Microsoft's standard file format used for video files. Video support in Windows is prov

Orientation Dependence - Modeling and Rendering The outcomes of interpolated-shading models are dependent of the projected polygon's orientation. Because values are interpolat

2-dimensional xy-shearing transformation, as explained in equation (19), can also be simply extended to 3-dimensional case. All coordinates are translated as a function of displace