Acquire a transformation matrix for perspective projection, Computer Graphics

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).

Posted Date: 4/4/2013 3:01:21 AM | Location : United States







Related Discussions:- Acquire a transformation matrix for perspective projection, Assignment Help, Ask Question on Acquire a transformation matrix for perspective projection, Get Answer, Expert's Help, Acquire a transformation matrix for perspective projection Discussions

Write discussion on Acquire a transformation matrix for perspective projection
Your posts are moderated
Related Questions
Write a program that allows interactive manipulation of the position and orientation of a camera. Draw a teapot at the global origin 0,0,0. You can find a shaded teapot model and

Scale a sphere cantered on the point (1, 2, and 3) with radius 1, so that the new sphere has the same centre with radius 2.    Solution: Translate the sphere so that its centre

Find Out Projection Matrix for Oblique Projection To find out projection matrix for oblique projection, we want to find out the direction vector d. Because vector PP' and vect

What are the different ways of specifying spline curve?  Using a set of boundary conditions that are imposed on the spline. Using the state matrix that characteristics

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

Art: it just like conventional animation, computer animation is additionally a type of art. A multitude of results can be created on a computer than on a piece of paper. An artist

QUESTION a) What is a color management system? Briefly explain how it works. b) What are the three major factors affecting print permanence? c) Briefly explain three ways

Character Generation You know that graphics displays often contain components which are text based.  For example graph labels, annotations, descriptions on data flow diagrams,

Question: (a) Some adverts are set up only with facts and with no use on concepts/emotions. Name and explain two strengths and two weaknesses of "no use of emotions in

Key Frame Systems - computer animation This method is for low-level motion control. In fact these systems comprise languages that are designed simply to produce the in-between