X-shear regarding the origin - 2-d and 3-d transformations, Computer Graphics

Assignment Help:

X-shear Regarding the Origin - 2-d and 3-d transformations

Suppose an object point P(x,y) be moved to P'(x',y') in the x-direction, via the given scale parameter 'a',that is, P'(x'y') be the outcome of x-shear of point P(x,y) through scale factor a regarding the origin, that is demonstrated in Figure 4.

1873_X-shear Regarding the Origin - 2-d and 3-d Transformations.png

Hence, the points P(x,y) and P'(x',y') have the subsequent relationship:

x' = x + ay

y' = y         

= Shx(a)                                                    ------(11a)

Here 'a' is a constant (termed as shear parameter) which measures the degree of shearing.  The shearing is in the opposite direction, if a is negative.

Remember that P(0,H) is taken into P'(aH,H).  This obeys that the shearing angle A which is the angle by that the vertical edge was sheared; is specified by:

tan(A) = aH/H = a.

Consequently the parameter a is simply the tan of the shearing angle. Within matrix form of 2-D Euclidean system, we contain:

1131_X-shear Regarding the Origin - 2-d and 3-d Transformations 1.png

(12)

In terms of Homogeneous Coordinates, above equation (12) is:

456_X-shear Regarding the Origin - 2-d and 3-d Transformations 2.png

-----------------------(13)

That is, P'h = Ph Shx(a)   --(14)

Here Ph and P'h represent object points, before and after needed transformation, in Homogeneous Coordinates and Shx(a) is termed as homogeneous transformation matrix for x-shear along with scale parameter 'a' in the x-direction.


Related Discussions:- X-shear regarding the origin - 2-d and 3-d transformations

Phong model or phong specular reflection model, Phong Model or Phong Specul...

Phong Model or Phong Specular Reflection Model It is an empirical model that is not based on physics, although physical observation. Phong observed here for extremely shiny su

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)

3dstudio - softwares for computer animation, 3Dstudio - Softwares for compu...

3Dstudio - Softwares for computer animation 3DStudio is a 3-D computer graphics programmed. 3DStudio runs on personal computers. This is relatively simple to use. Several schoo

Basic graphics and mouse events, For this assignment, you will program a ga...

For this assignment, you will program a game called Pig. Pig is a two-player game where players compete to be the first to reach (or surpass) 100 points. Pig usually involves playe

Uses for gif and jpeg files, Uses for GIF and JPEG Files: Microsoft I...

Uses for GIF and JPEG Files: Microsoft Internet Explorer, Netscape Navigator and most the other browsers maintain both JPEG and GIF graphics. Theoretically, you could util

What is view distance, What is view distance?  The view plane normal ve...

What is view distance?  The view plane normal vector is a directed line segment from the view plane to the view reference point. The length of this directed line segment is ref

Role of computer graphics in education and training, Question: Explain how ...

Question: Explain how computer graphics would play a useful role in education and training. Answer: Computer graphics has occupied an important role in education and training.

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

How many key frames does a one-minute animation film, How many key frames d...

How many key frames does a one-minute animation film order along with no duplications need? Solution : One minute = 60 seconds Number of frames needed per second=24 Numbe

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