Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 5.

Slides:



Advertisements
Similar presentations
3D Transformations Assist. Prof. Dr. Ahmet Sayar
Advertisements

Computer Graphics: 3D Transformations
Transformations on the Coordinate Plane
COMPUTER GRAPHICS 2D TRANSFORMATIONS.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 4.
Introduction Now that we have built our understanding of parallel and perpendicular lines, circular arcs, functions, and symmetry, we can define three.
1 Computer Graphics Chapter 6 2D Transformations.
CMPE 466 COMPUTER GRAPHICS
University of North Carolina at Greensboro
3-D Geometry.
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Dx = 2 dy = 3 Y X D Translation A translation is applied to an object by repositioning it along a straight-line path.
2D Geometric Transformations
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Translations, Reflections, and Rotations
Transformations Jehee Lee Seoul National University.
Unit 5: Geometric Transformations.
CS 376 Introduction to Computer Graphics 02 / 16 / 2007 Instructor: Michael Eckmann.
In mathematics, a transformation
Term Transformation Describe The change in the position of a geometric figure, the pre-image, that produces a new figure called the image Representation.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 6.
An operation that moves or changes a geometric figure (a preimage) in some way to produce a new figure (an image). Congruence transformations – Changes.
8-10 Translations, Reflections, and Rotations Course 2 Warm Up Warm Up Problem of the Day Problem of the Day Lesson Presentation Lesson Presentation.
8-10 Translations, Reflections, and Rotations Course 2 Warm Up Warm Up Problem of the Day Problem of the Day Lesson Presentation Lesson Presentation.
Vectors and the Geometry of Space Copyright © Cengage Learning. All rights reserved.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Appendix A.
Computer Graphics 3D Transformations. Translation.
Two-Dimensional Geometric Transformations ch5. 참조 Subjects : Basic Transformations Homogeneous Coordinates Composite Transformations Other Transformations.
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
GEOMETRIC TRANFORMATIONS Presented By -Lakshmi Sahithi.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
TRANSFORMATIONS SPI SPI TYPES OF TRANSFORMATIONS Reflections – The flip of a figure over a line to produce a mirror image. Reflections.
Translations Translations maintain Same Size Same Shape
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS D Geometric Transformations Graphics Systems.
3-D Geometric Transformations
3D Geometric Transformation
3D Geometric Transformation
CSCI 425/ D Mathematical Preliminaries. CSCI 425/525 2 Coordinate Systems Z X Y Y X Z Right-handed coordinate system Left-handed coordinate system.
Lecture 5: Introduction to 3D
Transformations of objects
 An image is the new figure, and the preimage is the original figure  Transformations-move or change a figure in some way to produce an image.
DRILL 1) If A is in between points B and C and AC is 4x + 12 and AB is 3x – 4 and BC is 57 feet how long is AB? 2) Angles A and B are Supplementary if.
9.3 – Perform Reflections. Reflection: Transformation that uses a line like a mirror to reflect an image Line of Reflection: Mirror line in a reflection.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Unit 2 Vocabulary. Line of Reflection- A line that is equidistant to each point corresponding point on the pre- image and image Rigid Motion- A transformation.
TransformationsTransformations. transformation One to One Mapping Preimage Point  Image Point A change of position or size of a figure. A  A´
CS 325 Introduction to Computer Graphics 02 / 19 / 2010 Instructor: Michael Eckmann.
Translations, Reflections, and Rotations. Vocabulary Transformation- changes the position or orientation of a figure. Image- the resulting figure after.
What is a rigid transformation?  A transformation that does not change the size or shape of a figure.
9.4 : Compositions of Transformations
Do Now.
3. Transformation
Transformations and Symmetry
Computer Graphics 3D Transformations
Transformations Chapter 4.
Transformations Main Idea Notes Transformation
Y. Davis Geometry Notes Chapter 9.
Reflections & Rotations
Day 13 – Effects of rigid motion
DRILL If A is in between points B and C and AC is 4x + 12 and AB is 3x – 4 and BC is 57 feet how long is AB? Angles A and B are Supplementary if.
TRANSFORMATIONS Translations Reflections Rotations
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
These are flips, slides, turns, and enlargements/reductions.
Reflections in Coordinate Plane
Module 2 Review
Reflections Geometry.
Identify and graph compositions of transformations, such as glide reflections LT 12.4.
Day 47 – Fixed points and invertibility in rigid motion
Presentation transcript:

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 5

Figure 5.1: Translation.

Figure 5.2: Scaling.

Figure 5.3: Rotation.

Figure 5.4: Illustrations for Example 5.2.

Figure 5.5: Reflection (|XP| = |XP’|).

Figure 5.6: Glide reflection.

Figure 5.7: Affine transformation in R 3.

Figure 5.8: Quadratic transform h of R 2 takes a straight segment to a parabolic arc.

Figure 5.9: Hint for Exercise 5.26.

Figure 5.10: Transformations that are good from the API programmer's point of view, and not so good.

Figure 5.11: Square-headed student struck by a CG book: the shape of the head is distorted, but not that of the book.

Figure 5.12: Transformations (a)-(c) are Euclidean, (d) is not.

Figure 5.13: Executing (c) of Figure 5.12 by a reflection about the mirror l followed by translation and rotation.

Figure 5.14: The orientation of PQR perceived by V depends on the half-plane of l containing Q (Q is depicted here in the half-plane x 1 y – y 1 x > 0).

Figure 5.15: Illustrations for the proof of Proposition 5.6.

Figure 5.16: 2D shears: l is a directed line, α the angle of shear.

Figure 5.17: Sheared sheep.

Figure 5.18: A shear as a rotation-scaling-rotation.

Figure 5.19: Translation.

Figure 5.20: Scaling.

Figure 5.21: Rotation.

Figure 5.22: (a) 2D rotation on the xy-plane (b)-(d) 3D rotations about the coordinate axes.

Figure 5.23: Rotating about an arbitrary radial axis.

Figure 5.24: Experiment 5.1: (a) Screenshot of output (b) Trick-based rotation scheme.

Figure 5.25: Aligning l along the z-axis.

Figure 5.26: (a) Non-zero collinear vectors drawn from the origin (b) Taking the cross-product.

Figure 5.27: The vector f(X) is obtained by rotating X an angle of θ about the radial line l.

Figure 5.28: X 1 and X 2 are components of X parallel and perpendicular, respectively, to l; X 2, f(X 2 ) and P x X all lie on the plane p through O perpendicular to l. X 2 and P x X are mutually perpendicular as well.

Figure 5.29: Reflection about plane p (|XP| = |XP’|).

Figure 5.30: Screenshot from Experiment 5.2.

Figure 5.31: (a) {u, v, w} is left-handed (b) {u, v, w} is right-handed (c) The reflection f about the plane p is orientation-reversing, because the triple {PQ, PQ, PS} is right-handed, while the triple of images {f(P)f(Q), f(P)(R), f(P)(S)} is left-handed.

Figure 5.32: Finding the axis of a rigid transformation that fixes the origin.

Figure 5.33: (a) A 2D slice of a 3D shear on the plane q and two more “copies” of q (b) A shear along the xz-plane whose line is the x-axis.

Figure 5.34: Screenshot of shear.cpp.

Figure 5.35: Shadow of a point cast by the sun at 45° in the sky.