General perspective transformation, Computer Graphics

Assignment Help:

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


Related Discussions:- General perspective transformation

Applications that can handle bitmap data, Applications that can handle Bitm...

Applications that can handle Bitmap Data Hundreds of applications are there in the market which can be used to modify or make bitmap data. For illustration: Adobe Photo Shop, C

Raster scan display processor, Draw the block diagram of raster scan displa...

Draw the block diagram of raster scan display processor.

Containment test - visible surface detection, Containment Test -  visible s...

Containment Test -  visible surface detection Test: That is Containment test: it can be either comprised (contained) or surrounding polygon, if intersection test fails. The

Touch panels - input and output devices, Touch Panels - Input and output de...

Touch Panels - Input and output devices It allows displayed screen or object positions to be selected along with the touch of the finger and is also termed as Touch Sensitive

Define addressability, What is meant by Addressability?  The Addressabi...

What is meant by Addressability?  The Addressability is the number of individual dots per inch (d.p.i) that can be formed. If the address of the current dot is (x, y) then the

Composite transformations - 2-d and 3-d transformations, Composite Transfor...

Composite Transformations - 2-d and 3-d Transformations We can build complicated transformations as rotation regarding to an arbitrary point, mirror reflection about a line, a

What is reflection and clipping, What is reflection and clipping? The r...

What is reflection and clipping? The reflection is actually the transformation that makes a mirror image of an object. For this use some angles and lines of reflection.  Cli

Reflection, What is the advantages and disadvantages of reflection ?

What is the advantages and disadvantages of reflection ?

You, are you a robot

are you a robot

Polygon clipping - raster graphics and clipping, Polygon Clipping - Raster ...

Polygon Clipping - Raster Graphics and Clipping After considerate the idea of line clipping and its algorithms, we can currently extend the idea of line clipping to polygon cl

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd