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

Design a game using graphical user interface, BlackJack is a popular card g...

BlackJack is a popular card game played in many casinos. The player plays against the dealer aiming to reach 21 points, or a score higher than the dealer without exceeding 21. The

Gui for plotting functions, For this assignment you will write a GUI for pl...

For this assignment you will write a GUI for plotting functions. The user will supply the de?nition of a function in the variable x, the range of x and y values to be plotted and t

What is bitmap and what is pixmap, What is bitmap and what is pixmap?  ...

What is bitmap and what is pixmap?  The frame buffer used in the black and white system is called as bitmap which take one bit per pixel. For systems with many bits per pixel,

Number system, Perform the indicated base conversions 548 to base 5

Perform the indicated base conversions 548 to base 5

What is the minimum number of control points, Question: A curve shape ha...

Question: A curve shape has three quadratic Bézier curve segments. The curves have been joined sequentially so that continuity of the first derivative of the resulting curve sha

Three-dimensional viewing, Three-Dimensional Viewing Three dimensional ...

Three-Dimensional Viewing Three dimensional objects are created using modelling coordinate system. The modelled objects are then placed in locations specified in the scene with

Explain about the computer animation, Explain about the Computer animation ...

Explain about the Computer animation Computer animation is the art of creating moving images by computer software and hardware. For 3D animation, objects are designed on a

Fixed point scaling, what is fixed point scaling? how composit transformati...

what is fixed point scaling? how composit transformation techniques works on it

Use the outline method to plot font boundaries, 1. Use the outline method t...

1. Use the outline method to plot the following font boundaries (style should remain the same). Implement your method in C language.    ANswer: Here letter G is produced

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