Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

- 3D transformation in computer graphics by SHIVANI SONI 9431 views
- 3d transformation computer graphics by Computer Science ... 1427 views
- transformation 3d by HiteshJain007 11423 views
- 3 d geometric transformations by Mohd Arif 6749 views
- Notes 2D-Transformation Unit 2 Comp... by NANDINI SHARMA 18782 views
- Composite transformations by Mohd Arif 30626 views

12,174 views

Published on

3D Geometric Transformations in CAD/CAM modelling.

No Downloads

Total views

12,174

On SlideShare

0

From Embeds

0

Number of Embeds

5

Shares

0

Downloads

0

Comments

0

Likes

20

No embeds

No notes for slide

- 1. 3D Geometric Transformations Ishan Parekh MBA(tech.) Manufacturing #315 Ishan Parekh MBA(tech.) Manufacturing #315 1
- 2. Kinds of Transformations Rotation Reflection • The process of moving points in space is called transformation • These transformations are an important component of computer graphics programming • Each transformation type can be expressed in a (4 x 4) matrix, called the Transformation Matrix NOTES: Ishan Parekh MBA(tech.) Manufacturing #315 2
- 3. Rotation Rotating the object about an axis Ishan Parekh MBA(tech.) Manufacturing #315 3
- 4. Rotation Rotation is the process of moving a point in space in a non-linear manner it involves moving the point from one position on a sphere whose center is at the origin to another position on the sphere Rotation a point requires: 1) The coordinates for the point. 2) The rotation angles. Ishan Parekh MBA(tech.) Manufacturing #315 4
- 5. 3D Rotation Convention Right-handed Cartesian coordinates x y z x y z Positive rotation goes counter-clockwise looking in this direction x y z Left-handed: Ishan Parekh MBA(tech.) Manufacturing #315 5
- 6. 3D Rotation Rotation about the z axis cos q - sin q 0 0 sin q cos q 0 0 0 0 1 0 0 0 0 1 x’ y’ z’ 1 x y z 1 = x y z Ishan Parekh MBA(tech.) Manufacturing #315 6
- 7. Rotation Rotation about x-axis (i.e. in yz plane): x′ = x y′ = y cosθ – z sinθ z′ = y sinθ + z cosθ Rotation about y-axis (i.e. in xz plane): x′ = z sinθ + x cosθ y ′ = y z′ = z cosθ – x sinθ Ishan Parekh MBA(tech.) Manufacturing #315 7
- 8. 3D rotation around axis parallel to coordinate axis Translate object so that rotation axis aligned with coordinate axis Rotate about that axis Translate back Ishan Parekh MBA(tech.) Manufacturing #315 8
- 9. 3D rotation around any axis Translate object so that rotation axis passes through coordinate origin Rotate object so that axis of rotation coincides with coordinate axis Perform rotation Inverse rotate so that rotation axis goes back to original orientation Inverse translate so that rotation axis goes back to original position x y z y’ x’ z’ (x0,y0,z0) 3D rotation around arbitrary axis: Given: (x0,y0,z0) and vector v Method: (1) Let v be z’ (2) Derive y’ and x’ (3) Translate by (-x0,-y0,-z0) (4) Rotate to line up x’y’z’ with xyz axes (see next page), call this the rotation R. (5) Rotate by q about the z axis (6) Rotate back (R-1) (7) Translate by (x0,y0,z0) Ishan Parekh MBA(tech.) Manufacturing #315 9
- 10. Rotations – Positive and Negative Ishan Parekh MBA(tech.) Manufacturing #315 10
- 11. Rotations – Positive about x,y,z Ishan Parekh MBA(tech.) Manufacturing #315 11
- 12. Multiple Rotations Ishan Parekh MBA(tech.) Manufacturing #315 12
- 13. Reflection Mirroring an object about a plane Ishan Parekh MBA(tech.) Manufacturing #315 13
- 14. Reflection A three-dimensional reflection can be performed relative to a selected reflection axis or with respect to a selected reflection plane. three dimensional reflection matrices are set up similarly to those for two dimensions. Reflections relative to a given axis are equivalent to 180 degree rotations. Ishan Parekh MBA(tech.) Manufacturing #315 14
- 15. 3D reflection Let z-plane be the reflection plane Comment: Reflection is like negative scaling Then, transformation matrix is: 1 0 0 0 0 1 0 0 0 0 -1 0 0 0 0 1 Ishan Parekh MBA(tech.) Manufacturing #315 15
- 16. AutoCAD Transformation Commands Geometric Transformation AutoCAD Command Rotation ROtate and ROTATE3D Reflection MIrror and MIRROR3D Ishan Parekh MBA(tech.) Manufacturing #315 16
- 17. 3D Transformations The End Ishan Parekh MBA(tech.) Manufacturing #315 17

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment