0% found this document useful (0 votes)
696 views

Computer Graphics Shear

Shear is a transformation that distorts the shape of an object by causing its internal layers to slide over each other. It transforms coordinate positions according to specific formulas where the x-coordinate is shifted proportionally to the y-coordinate or vice versa, leaving the other coordinate unchanged. Common shear transformations are those that shift x values and those that shift y values, represented by specific matrix formulas involving the shear factor. Shear preserves the parallelism of lines and planes.

Uploaded by

Agrippa Mungazi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
696 views

Computer Graphics Shear

Shear is a transformation that distorts the shape of an object by causing its internal layers to slide over each other. It transforms coordinate positions according to specific formulas where the x-coordinate is shifted proportionally to the y-coordinate or vice versa, leaving the other coordinate unchanged. Common shear transformations are those that shift x values and those that shift y values, represented by specific matrix formulas involving the shear factor. Shear preserves the parallelism of lines and planes.

Uploaded by

Agrippa Mungazi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

COMPUTER GRAPHICS

SHEAR

SHEAR DEFINED
Shear is a transformation that distorts the shape of an object such that
the transformed shape appears as if the object were composed of
internal layer that had been caused to slide over each other Internal
layer cause to slide over each other called shear
Transforms coordinate position as X' = x + shx . y , y = y
Shift in the position of objects relative to shearing reference lines are
equivalent to translations
Parallelism of lines and planes is preserved.

SHEAR


x x h y
y y
x
A shear transformation in the x-direction (along x) shifts the points
in the x-direction proportional to the y-coordinate.
The y-coordinate of each point is unaffected.
Shear along x
Matrix Representations
Shear along y
Two common shearing transformations are those that shift
coordinate x values and those that shift y values.
An x-direction shear relative to the x-axis is produced with
transformation matrix

where
shx = tan(90
)
= cot()

where
shy = tan()
HORIZONTAL SHEAR
NB: Equivalent to pulling faces in opposite directions
HORIZONTAL SHEARING
X = x + shx.y; y =
y
VERTICAL SHEARING
Y = y + shy.x; x = x

You might also like