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

Animation, what type of animation is produced by the line y=mx+c?

what type of animation is produced by the line y=mx+c?

Demerit - phong shading or normal vector interpolation shadi, Demerit - pho...

Demerit - phong shading or normal vector interpolation shading Needs lot of computations to determine intensity at a point, hence increases the cost of shading in any impleme

Img- mac-msp file formats, IMG/MAC/MSP File Formats IMG files were orig...

IMG/MAC/MSP File Formats IMG files were originally implemented to work along with GEM paint program and can handle monochrome and grey level pictures only. MAC files are uti

Medicine-applications for computer animation, Medicine: this is very tough...

Medicine: this is very tough for a doctor to get inside a living human body and to observe what is occurrence. Computer animation once again comes in very helpful. Every particula

DDA, limitationsof dda

limitationsof dda

Example of bezier curves - modeling and rendering, To prove: P (u = 0) = p0...

To prove: P (u = 0) = p0 Solution : = p 0 B n,0 (u) + p 1 B n, 1 (u) +...... + p n B n, n (u)...............(1)  B n,i (u) = n c i u i (1 - u) n-i B n,0

Low level techniques (motion specific), Low level techniques (motion specif...

Low level techniques (motion specific) Techniques utilized to fully control the motion of any graphic object in any type of animation scene, these techniques are also considere

Write a code to generate a composite matrix, Write a code to generate a com...

Write a code to generate a composite matrix for general 3D rotation matrix.  Test your code and rotate continuously a cube about an axis.

Pixel paint, PIXEL PAINT: The pixel paint file format permits a document t...

PIXEL PAINT: The pixel paint file format permits a document to be opened in the pixel paint and pixel paint professional graphics application. Such format permits you to identify

Seed fill algorithm - output primitives, Seed fill algorithm A seed fil...

Seed fill algorithm A seed fill algorithm starts with a known initial interior point of the polygon and spreads out to determine other interior points to fill the given closed

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