General perspective transformation with cop at the origin, Computer Graphics

Assignment Help:

General Perspective transformation with COP at the origin

Here we suppose the given point P(x,y,z) be projected like P'(x',y',z') on the plane of projection. The center of projection is at the origin, determined by O(0,0,0). Let the plane of projection explained by the normal vector N=n1I+n2J+n3K and passing via the reference point R0(x0,y0,z0). By Figure 21, the vectors PO and P'O have the similar direction. The vector P'O is a factor of PO. Thus they are associated through the equation of: P'O = α PO, comparing elements we have x'=α.x   y'=α.y   z'=α.z we here get the value of α.

1015_General Perspective transformation with COP at the origin.png

We know about the equation of the projection plane passing via a reference point R0 and having a common vector as N=n1I+n2J+n3K is specified by PR0.N=0, which is:

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

Because P'(x',y',z') lies upon this plane, hence we have as:

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

Once substituting x'=α.x ;  y'=α.y ;  z'=α.z, we have as:

α =(n1.x0+ n2.y0+ n3.z0)/(n1.x+ n2.y+ n3.z) = d0/(n1.x+ n2.y+ n3.z)

This projection transformation cannot be shown as a 3x3 matrix transformation. Conversely, by utilizing the HC representation for 3-D, it can write in projection transformation as:

439_General Perspective transformation with COP at the origin 1.png

Hence, the projected point P'h(x',y',z',1) of given point Ph(x, y, z, 1) can be acquired as:

 

P'h = Ph. Pper,N, Ro = [x, y, z, 1]  

262_General Perspective transformation with COP at the origin 2.png

= [d0.x, d0.y, d0z, (n1.x + n2.y + n3.z)] ;

Here d0 = n1.x0 + n2.y0 + n3. z0.


Related Discussions:- General perspective transformation with cop at the origin

Area filling algorithms - output primitives, Area Filling Algorithms Be...

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

Gourand shading and phong shading, Gourand shading and Phong shading ...

Gourand shading and Phong shading a. Gourand shading OR Intensity interpolation scheme We will discuss such scheme in further section of Gourand shading OR Intensity in

Liang b arsky line clipping algorithm, Write the Liang B arsky line clippin...

Write the Liang B arsky line clipping algorithm. Why is Liang Barsky algorithm more efficient than the Cohen Sutherland algorithm?  Liang Barsky Line Clipping: Faster line cl

Film recorders - graphics hardware, Film Recorders - graphics hardware ...

Film Recorders - graphics hardware It is a graphical output device for transferring digital images to photographic films. The easiest film recorders classically work through

How many times will vertex appear in the intersection points, 1. For the po...

1. For the polygon shown in Figure on the next page, how many times will the vertex V 1 appear in the set of intersection points for the scan line passing through that point?  How

What is resolution, What is resolution? Ans. The maximum number of poin...

What is resolution? Ans. The maximum number of points that can be shown without an overlap on a CRT is known as resolution.

Global illumination model -polygon rendering, Global illumination model -po...

Global illumination model -polygon rendering This illumination model adds to the local model the light which is reflected from the other surfaces to the current surface. This

Arguments made in favor of digital sound, Arguments made in favor of Digita...

Arguments made in favor of Digital Sound Dynamic range. Lower noise floor. Immunity to wow and flutter. Absence of generation loss. Capability to apply redu

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