General perspective transformation, Computer Graphics

General Perspective transformation w.r.t. an arbitrary center of projection

Suppose here that the COP is at C(a,b,c), as demonstrated in Figure.

By Figure, the vectors CP and CP' have the simila direction. The vector CP' is a factor of CP, which is CP'=α. CP

Hence, (x'-a)= α.(x-a)                                  z

(y'-b)= α.(y-b)

(z'-c)= α.(z-c)

1163_General Perspective Transformation.png

We know about the projection plane passing via a reference point R0(x0,y0,z0) and consisting a normal vector N= n1I+n2J+n3K, satisfies the subsequent equation:

n1.(x-x0)+n2.(y-y0)+n3.(z-z0)=0

When P'(x',y',z') lies upon this plane then we have:

n1.(x'-x0)+n2.(y'-y0)+n3.(z'-z0)=0

now substitute the value of x', y' and z' then we have:

α= (n1.(x0-a)+n2.(y0-b)+n3.(z0-c))/( n1.(x-a)+n2.(y-b)+n3.(z-c))

=((n1.x0+n2.y0+n3.z0)-(n1.a+n2.b+n3.c))/(n1.(x-a)+n2.(y-b)+n3.(z-c))

=(d0-d1)/(n1.(x-a)+n2.(y-b)+n3.(z-c))

=d/(n1.(x-a)+n2.(y-b)+n3.(z-c))

Currently,  d=d0-d1=  (n1.x0+n2.y0+n3.z0) - (n1.a+n2.b+n3.c)  shows  perpendicular distance from center of projection, C to the projection plane.

In order to determine the general perspective transformation matrix so we have to proceed as given here:

Translate COP, C (a, b, c) to the origin.  Now, R'0=(x0-a, y0-b, z0-c) turn sinto the reference point of the translated plane which is normal vector will remain similar.

By applying the general perspective transformation as Pper,N,R'o

Now translate the origin back to C as.

116_General Perspective Transformation 2.png

Here d = N.CR' 0 = d0 - d1 = (n1. x0 + n2. Y0 + n3.z0) - (n1.a+n2.b +n3.c)

= n1. (x0 - a) + n2. (y0 - b) + n3. (z0 - c)

And also d1 = n1.a + n2.b + n3.c

Posted Date: 4/4/2013 3:32:21 AM | Location : United States







Related Discussions:- General perspective transformation, Assignment Help, Ask Question on General perspective transformation, Get Answer, Expert's Help, General perspective transformation Discussions

Write discussion on General perspective transformation
Your posts are moderated
Related Questions
Other Video File Formats: There are several the other formats for storing video in the digital formats. Such formats are usually used for the storage and viewing of video through

Question: (a) Sound often gives the only effective way to convey an idea, elicit an emotion, or dramatise a point. Explain two situations of the use of sound that would be con

Explain depth buffer method

1. Modify the DDA algorithm for negative sloped lines; discuss both the cases i.e., slope > 1 and 0   Ans. For the generation of lines along with negative slopes as:

For this assignment, you will program a game called Pig. Pig is a two-player game where players compete to be the first to reach (or surpass) 100 points. Pig usually involves playe

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

Curve Clipping and Character Clipping As you proceed further, you would see that the methods for curve clipping and character clipping have also been developed based on boundin

Various cases of Cohen Sutherland Line Clippings Currently, we study how this clipping algorithm works. For the sake of simplicity we will tackle all the cases with the assist

Multimedia Tool Features General to nearly all multimedia tool platforms are various features for encapsulating the content, presenting the data, acquiring user input and cont

Line Clipping Algorithm - Cohen Sutherland Algorithm Line is a series of endless number of points; here no two points contain space in among them. Hence, the above said inequa