Carry out a perspective projection, Computer Graphics

Assignment Help:

Consider the line segment AB in 3-Dimentional parallel to the z-axis along with end points A (- 5,4,2) and also B (5,-6,18). Carry out a perspective projection upon the X=0 plane; here the eye is placed at (10, 0,10).

Solution: Suppose here that P (x, y, z) be any point in the space.

The parametric equation of a line beginning from E and passing via P is: E + t. (P - E), o < t < 1.

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

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

= (t. (x - 10) + 10, t. y, t (z - 10) + 10)

Suppose a point P' can be obtained, as t = t*

∴P' = (x', y', z') = (t* (x - 10) + 10, t*.y, t*. (z - 10) + 10)

 Because the point P' lies on x = 0 plane as:

1898_Carry out a perspective projection 1.png

          Figure: (j)

= t* (x - 10) + 10 = 0

= t* =(- 10)/ (x - 10)

= P' = (x',y',z') = (0,((-10.y)/(x - 10)),(((-10)(z - 10))/(x - 10)), + 10)

(0, ((-10.y)/(x - 10)),((10x - 10z)/(x - 10)))

In terms of Homogeneous coordinate system;

P' = (x', y', z', 1) = ( 0, ((-y )/((x - 10) - 1)) ,  (x -z)/((x/10) - 1)), 1)

= (0, -y, x-z, ((x/10) - 1))

In Matrix form there is:

2067_Carry out a perspective projection 2.png

-------------------------(1)

In above equation (1) is the needed perspective transformation, that gives a coordinates of a projected point P' (x', y', z') on the x = 0 plane, whereas a point p (x, y, z) is viewed from E (10, 0, 10)

Currently, for the specified points A (-5, 4, 2) and B (5, -6, 18), A' and B' are their projection upon the x = 0 plane.

So now from Equation (1) we get:

1289_Carry out a perspective projection 3.png

= (0,-4, -7, ((-5/10) - 1))

= (0 , -40, -70, -15)

(0, 40/15, 70/15, 1)

Thus x1' = 0;  y1' = 2.67 ;    z1' = 4.67

As the same in:

137_Carry out a perspective projection 4..png

= (0, 60, - 130, - 5)

= (0, - 12, 26, 1)

 Thus x2' = 0 ;  y2' = - 12 ;    z2' = 26

Hence the projected points A' and B' of specified points A and B are:

A' = (x1', y1'z1') = (0, 2.67, 4.67)    and     B' = (x2', y2', z2') = (0, - 12, 26, 1)


Related Discussions:- Carry out a perspective projection

Poser - software to generate computer animations, Poser - software to gener...

Poser - software to generate computer animations Poser: Poser through Curious Labs Creates 3-dimentaional complex models which you can view from any angle, distance o

Normalization transformation, Find the normalization transformation N, whic...

Find the normalization transformation N, which uses the rectangle W(1, 1); X(5, 3); Y(4, 5) and Z(0, 3) as a window and the normalized deice screen as viewpoint.

Determine the transformation matrix for cavalier projection, Determine the ...

Determine the transformation matrix for: a) Cavalier projection with θ=45 0 , and b) Cabinet projection with θ=30 0    c) Draw the projection of unit cube for all transfor

Archeology-applications for computer animation, Archeology: along with the...

Archeology: along with the advent of the computer, the archeologist has obtained a new tool, computer animation. An object-model can be made comparatively quick and without any we

Assumptions for area subdivision method, Assumptions for Area Subdivision M...

Assumptions for Area Subdivision Method a) ¾   Plane of projection is z=0 plane b) ¾ Orthographic parallel projections c) ¾   Direction of projection as d= (0,0,-1) d

Interactive picture construction techniques, Explain the interactive pictur...

Explain the interactive picture construction techniques.    interactive picture- construction methods are commonly used in variety of applications, including design and painting pa

Perform a x-direction shear transformation, 1. If you perform a x-direction...

1. If you perform a x-direction shear transformation and then a y-direction shear transformation, will the result be the same as the one which is obtained when it is simultaneous s

Determine the term- virtual reality, Determine the term- Virtual Reality ...

Determine the term- Virtual Reality Virtual Reality (VR) This is an artificial 3D environment which is created by a computer system. Very often user wears data helmet, d

Importance of multimedia, Importance of Multimedia: Multimedia will help i...

Importance of Multimedia: Multimedia will help in spreading the information age to millions of teachers/learners. Today Multimedia educational computing is fastest raising markets

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