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

Line drawing display - random scan display device, Line Drawing Display - R...

Line Drawing Display - Random Scan Display Device The display through this system is termed as Line Drawing Display. The sequence controls the subsequent stages, demonstrated

Design a bitmap for the english vowels, 1. Design a bitmap for the English ...

1. Design a bitmap for the English vowels A, E, I, O, U for two different sizes and then implement the bitmaps to plot these vowels on the display. Keep in mind that baseline of al

Write a simple c-code to generate a circular arc, Write a simple C-code to ...

Write a simple C-code to generate a circular arc between two angle values. Use this to draw Figure.

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

Flash - software to generate computer animations Flash: Learning Macro-Media's Flash can quite complicated, although you can do almost anything along with it. You can devel

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

Give three ways to display a panel, QUESTION (a) Give some ways you can...

QUESTION (a) Give some ways you can change the magnification of a document? (b) Give three ways to display a panel? (c) Identify the differences between Selection tool an

Scan conversion - 2d shape primitives, Scan conversion: For display of...

Scan conversion: For display of a continuously defined object, a method to map a continuous abstract object or shape into a discrete plane of computer display is needed.  This

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

Test for checking disjoint polygons by using of min-max test, Test For chec...

Test For checking Disjoint Polygons by using of Min-max Test Test 1: For checking disjoint polygons by using of Min-max test. Assume that you have two polygons as P1 and

Interlaced gif, Interlaced GIF: The conventional which is non-interlaced G...

Interlaced GIF: The conventional which is non-interlaced GIF graphic downloads one line of pixels at one time from top to bottom and browsers display all lines of the image as it

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