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

Advantages of bresenham’s line drawing algorithm, What are the advantages o...

What are the advantages of Bresenham's line drawing algorithm over DDA line drawing algorithm? DDA and Bresenham algorithms both are efficient line drawing algorithm. Breaenham

3-d modeling and animation tools, 3-D Modeling and Animation Tools: By 3-D...

3-D Modeling and Animation Tools: By 3-D modeling software, objects rendered in perspective show more realistic. One can produce stunning scenes and wander by them, choosing just

Reflection, examples and equation of reflection

examples and equation of reflection

Side effects due to scan conversion, What are the side effects due to scan ...

What are the side effects due to scan conversion? How can the effects be minimized? Aliasing Effects (Side effects of scan conversion)   Scan conversion is essentially a syst

Photoshop, What is the best selection method in photoshop

What is the best selection method in photoshop

Icon based or event driven tools, Icon Based or Event Driven Tools In s...

Icon Based or Event Driven Tools In such authoring systems, multimedia components and interaction cues or events are organized like objects in a structural process or framework

Computer aided design and drafting, Computer Aided Design and Drafting ...

Computer Aided Design and Drafting CADD or CAD stands for Computer Aided Design and Drafting. This is different from both "draw" and "paint" programs in which measurement is c

What is persistence, Persistence: How long they continue to emit light (...

Persistence: How long they continue to emit light (that is, have excited electrons returning to the ground state) after the CRT beam is removed. Persistence is defined as the ti

Line clipping algorithm - cohen sutherland algorithm, Line Clipping Algorit...

Line Clipping Algorithm - Cohen Sutherland Algorithm Line is a series of endless number of points; here no two points contain space in among them. Hence, the above said inequa

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