Presentation 1
Presentation 1
How it works:
Where:
•sxyshears along the X-axis proportional to the Y-coordinate.
•sxzshears along the X-axis proportional to the Z-coordinate.
•syxshears along the Y-axis proportional to the X-coordinate.
•syzshears along the Y-axis proportional to the Z-coordinate.
•szxshears along the Z-axis proportional to the X-coordinate.
•szyshears along the Z-axis proportional to the Y-coordinate.
• Each of these terms allows shifting the coordinates in one axis based on the value of another axis,
which results in the object being skewed or slanted.
Applications of 3D Shearing:
• Used in 3D modeling and computer graphics to create complex visual effects, such as
simulating tilting, slanting, or even certain types of perspective distortions.
• Employed in architectural visualization, gaming, and animation to achieve realistic or artistic
distortions.
• In essence, 3D shearing is a tool for altering the relative positions of points in an object,
creating an effect where one part of the object moves more than the others, leading to a
skewed appearance.
THREE-DIMENSIONAL SHEARS
• These transformations can be used to modify object shapes, just as in two dimensional
applications. They are also applied in three-dimensional viewing transformations for
perspective projections. For three-dimensional we can also generate shears relative to the z
axis.
• A general z-axis shearing transformation relative to a selected reference position is produced
with the following matrix:
• Shearing parameters shzx and shzy can be assigned any real
values.
• The effect of this transformation matrix is to alter the values for
the x and y coordinates by an amount that is proportional to
the distance from zref, while leaving the z coordinate
unchanged.
• Plane areas that are perpendicular to the z axis are thus
shifted by an amount equal to z− zref.
• An example of the effect of this shearing matrix on a unit cube
is shown in Figure 20 for shearing values shzx = shzy = 1 and a
reference position zref= 0. A unit cube (a) is sheared
relative to the origin (b) by
• Three-dimensional transformation matrices for an x-axis Matrix 46, with shzx = shzy= 1.
shear and a y-axis shear are similar to the two-dimensional
matrices.
• We just need to add a row and a column for the z-coordinate
shearing parameters.