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

What are the important applications of computer graphics, Can you list at l...

Can you list at least three important applications of computer graphics? There are lots of interesting applications of computer graphics. Three common applications are compute

Draw line segment - digital differential analyzer algorithm, 1. By using D...

1. By using Digital Differential Analyzer algorithm draw line segments from point (1,1) to (9,7). Ans. We see that the usual equation of the line is specified by: y = mx+c

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

Clipping and 3d primitives, Clipping and 3D Primitives This unit introd...

Clipping and 3D Primitives This unit introduces you to three important concepts of Computer Graphics. After that discusses the concept of clipping, which means removal of objec

Introduction of 2-d and 3-d transformations, Introduction of 2-D and 3-D  ...

Introduction of 2-D and 3-D  Transformations In this, the subsequent things have been discussed in detail as given below: Different geometric transformations as transla

Explain shannon -fano algorithm, (a) Differentiate between the following co...

(a) Differentiate between the following compression algorithm: 1. Shannon -Fano Algorithm and 2. Huffman Encoding (b) A statistical encoding algorithm is being considered

Interpolation spleen and approximation spine, Q.   Give the difference betw...

Q.   Give the difference between interpolation spleen and approximation spine. Also mention the geometric and parametric continuity conditions in these curves. Ans. A spleen s

DDA, limitationsof dda

limitationsof dda

Microcomputer applications, Calculate how many customers there are for each...

Calculate how many customers there are for each lawn size. Name this sheet

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.

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