Mathematical description of a perspective projection, Computer Graphics

Assignment Help:

Mathematical description of a Perspective Projection

A perspective transformation is found by prescribing a center of projection and a viewing plane. Let here assume that P(x,y,z) be any object point in 3-D and center of projection is at E(0,0,-d). The problem is to find out the image point coordinates P'(x',y',z') on the Z=0 plane as in Figure 18.

703_Mathematical description of a Perspective Projection.png

The parametric equation of a l EP, beginning from E and passing via P is:

E+ t(P-E)  0

=(0,0,-d)+t[(x,y,z)-(0,0,-d)]

=(0,0,-d)+t(x,y,z+d)

=[t.x, t.y, -d+t.(z+d)]

Point P' is acquired, when t=t*

There is, P'=(x',y',z') =[t*.x, t*.y, -d+t*.(z+d)]

Because P' lies on Z=0 plane implies -d+t*.(z+d)=0 must be true, there is t*=d/(z+d) is actual.

Therefore x'=t*.x=x.d/(z+d)

                  y'=t*.y=y.d/(z+d)

                  z'=-d+t*(z+d)=0,

 

Hence P'=( x.d/(z+d), y.d/(z+d), 0)

                  =(x/((z/d)+1),y/((z/d)+1),0)

In terms of Homogeneous coordinate system here P'=(x,y,0,(z/d)+1).  ---------(5)

 

The equation 5 in above can be written in matrix form as:

21_Mathematical description of a Perspective Projection 1.png

-------(1)

There is, P'h = Ph.Pper,z   ------    (2)

Here Pper,z in equation (4) represents the single point perspective transformation on z-axis.

The Ordinary coordinates are as:

[x',y',z',1]=[x/(r.z+1),y/(r.z+1),0,1]  where r=1/d                             ------ (3)


Related Discussions:- Mathematical description of a perspective projection

Briefly explain the term density range, QUESTION a) Explain with the he...

QUESTION a) Explain with the help of a diagram, how a thermal inkjet printer works. b) Briefly explain the term density range. c) Distinguish between scaling and resampli

Pitfalls in computer simulation - computer aided design, Pitfalls in comput...

Pitfalls in computer simulation Though generally avoided in computer simulations, in strict logic the rules governing floating point arithmetic even apply. For illustration, t

What happens while two polygons have similar z value , What happens while t...

What happens while two polygons have similar z value and the z-buffer algorithm is utilized? Solution : z-buffer algorithms, varies colors at a pixel if z(x,y)

Udp datagram communication and tcp stream communication, Question: a) D...

Question: a) Datagram packet delivery and Virtual circuit packet delivery are two approaches to the delivery of packets by the network layer. Explain. b) What is the meaning

Types of animation systems - computer animation, Types of Animation Systems...

Types of Animation Systems - Computer Animation We have discussed above about the sequencing of animation is helpful in developing any animation. Such sequencing is more or le

Transform from the world to viewing coordinate system, To transform from th...

To transform from the world coordinate system to viewing coordinate system you need to perform the following operations.  a)  Translate the viewing coordinate origin to the worl

Multimedia-applications for computer animation, Multimedia: it is the use ...

Multimedia: it is the use of different media to present a specific subject. This representation itself is a multimedia presentation implies; it brings together text and graphics.

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