Acquire a transformation matrix for perspective projection, Computer Graphics

Assignment Help:

Acquire a transformation matrix for perspective projection for a specified object projected onto x=3 plane as viewed by (5,0,0).

Solution: Plane of projection: x = 3 as given. Here assume that P (x, y, z) be any point in the space. We identify the parametric equation of a line AB, beginning from A and passing   via B is like:

1111_Acquire a transformation matrix for perspective projection 1.png

Figure: (i)

P (t) = A + t. (B - A), o < t < ∞

Consequently parametric equation of a line starting from E (5,0,0) and also passing via P (x, y, z) becomes:

E + t (P - E), o < t < ∞

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

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

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

Suppose here Point P' is obtained, as t = t*

∴ P' = (x', y', z') = [t* (x - 5) + 5, t*y, t*. z]

Because, P' lies on x = 3 plane, consequently

t* (x - 5) + 5 = 3 should be actual;

t* = -2/(x - 5)

P' = (x',y',z') = (3,((-2.z)/(x-5)), ((-2.z)/(x-5)))

= ((3x-15)/(x- 5), (-2y)/(x - 5), (-2z)/(x - 5))

In Homogeneous coordinate system there is:

P' = (x', y', z', 1) = ((3x-15)/(x- 5), (-2y)/(x - 5), (-2z)/(x - 5), 1)

= (3x - 15, - 2.y, - 2.z, x - 5)                  --------------(1)

In Matrix form it will be:

341_Acquire a transformation matrix for perspective projection 2.png

------------------------------(2)

Hence, as in above equation (2) is the needed transformation matrix for perspective view from (5, 0, 0).


Related Discussions:- Acquire a transformation matrix for perspective projection

What do you understood by the term graphic primitives, 1. What do you unde...

1. What do you understood by the term graphic primitives? Ans. Graphic primitives are the basic graphic objects that can be united in any number and method to produce a new i

What is the theory of gestalt, Question: (a) After having worked for s...

Question: (a) After having worked for several years as a graphic designer you decide to start a company of your own; MediaDesign ltd. The most valuable asset of a company is i

Properties of bezier curves - modeling and rendering, Properties of Bezier ...

Properties of Bezier Curves - modeling and rendering A very helpful property of a Bezier curve is that it always passes via the first and last control points. Such the bounda

Passive computer animations - types of computer animation, Passive Computer...

Passive Computer Animations: That has no option for users to utilize computer graphics today is mostly interactive for example: movies. Frame animation is non-interactive anim

Flat panel displays - hardware primitives, Flat Panel Displays - Hardware P...

Flat Panel Displays - Hardware Primitives 1.  Flat panel displays have now become more common. These include liquid crystal displays (LCD) and thin film electroluminescent disp

Gourand shading or intensity interpolation scheme, Gourand shading OR Inten...

Gourand shading OR Intensity interpolation scheme Now there polygon is rendered through linearly interpolating intensity values across the surface. Intensity values for all po

What is scaling and shearing, What is scaling and shearing? The scaling...

What is scaling and shearing? The scaling transformations alters the shape of an object and can be carried out  by multiplying every vertex (x,y) by scaling factor Sx, Sy where

Vecgen algorithm, Working of vecgen algorithm with diagram

Working of vecgen algorithm with diagram

Ellipse generating algorithm, Ellipse generating algorithm: Algorithm ...

Ellipse generating algorithm: Algorithm is similar to circle algorithm. We divide the ellipse on the positive quadrant into two regions. Region 1 where the slope > -1, and Reg

Assumption for digital differential analyzer algorithm, Assumption regardin...

Assumption regarding to the Digital Differential Analyzer Algorithm The line generation by DDA is discussed merely for the first Quadrant, whether the line lies in the other q

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