1 / 13

Computer Graphics 3D Transformations

Computer Graphics 3D Transformations. Translation. Rotation. Rotation. Rotation. Parallel to one of the Coordinate Axis

salma
Télécharger la présentation

Computer Graphics 3D Transformations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Graphics 3D Transformations

  2. Translation

  3. Rotation

  4. Rotation

  5. Rotation • Parallel to one of the Coordinate Axis In special cases where an object is to be rotated about an axis that is parallel to one of the coordinate axis, we can obtain the desired rotation with the following transformation sequence. • Translate the object so that the rotation axis coincides with the parallel coordinate axis (for simplicity, let us take x-axis). • Perform the specified rotation about that axis. • Translate the object so that the rotation axis is moved back to its original position.

  6. Rotation

  7. Scaling • The matrix expression for the scaling transformation of a position P = (x, y, z) relative to coordinate origin can be written as:

  8. Scaling • The matrix representation for an arbitrary fixed-point (xf, yf, zf) can be expressed as:

  9. Scaling

  10. Reflections • The matrix expression for the reflection transformation of a position P = (x, y, z) relative to x-y plane can be written as: • Transformation matrices for inverting x and y values are defined similarly, as reflections relative to yz plane and xz plane, respectively.

  11. Shears • The matrix expression for the shearing transformation of a position P = (x, y, z), to produce z-axis shear, can be written as:

  12. Shears • Parameters a and b can be assigned any real values. The effect of this transformation is to alter x- and y- coordinate values by an amount that is proportional to the z value, while leaving the z coordinate unchanged. • Shearing transformations for the x axis and y axis are defined similarly.

More Related