Today s class. Geometric objects and transformations. Informationsteknologi. Wednesday, November 7, 2007 Computer Graphics - Class 5 1
|
|
- Patricia Douglas
- 6 years ago
- Views:
Transcription
1 Toda s class Geometric objects and transformations Wednesda, November 7, 27 Computer Graphics - Class 5
2 Vector operations Review of vector operations needed for working in computer graphics adding two vectors subtracting two vectors scaling a vector magnitude of a vector normalizing a vector Wednesda, November 7, 27 Computer Graphics - Class 5 2
3 Linear combination of vectors Conve combinations (coefficients of linear combination are all non-negative and add up to ) Important conve combination: p(t) = a(-t) + b(t) where a and b are vectors and t If a and b are points, then p(t) = a(-t) + b(t) is said to interpolate the points a and b ( t ) Wednesda, November 7, 27 Computer Graphics - Class 5 3
4 Conve sets and hulls A conve set of points is a collection of points in which the line connecting an pair in the set lies entirel in the set Eamples: circle rectangle A conve hull is the smallest conve set that contains a specified collection of points Wednesda, November 7, 27 Computer Graphics - Class 5 4
5 Dot products cos θ = u a u b Vectors are orthogonal if dot product is Vectors are less than 9 apart if dot product is positive Vectors are more than 9 apart if dot product is negative Perpendicular projection of a onto b is (a u b ) u b Reflected ra is a -2(a u n ) u n where u n is a unit normal vector to the surface Wednesda, November 7, 27 Computer Graphics - Class 5 5
6 Cross products u = (u, u, u z ), v = (v, v, v z ) u v is perpendicular to both u and v Orientation follows the right hand rule u v = u v sin u v = θ u v u v u v z z z Wednesda, November 7, 27 Computer Graphics - Class 5 6
7 Polgons A polgon is a defined b a set of vertices and edges An interior angle of a polgon is an angle formed b two adjacent edges that is inside the boundar A conve polgon has ever interior angle < 8 A concave polgon is a polgon that is not conve Wednesda, November 7, 27 Computer Graphics - Class 5 7
8 Identifing concave polgons Concave polgons will have at least one interior angle > 8 The sin of this angle will be negative Thus, the magnitude of the cross product of the two vectors (edges) forming this angle will be negative This will also manifest itself b some z components of the cross product being positive and others being negative Wednesda, November 7, 27 Computer Graphics - Class 5 8
9 Splitting concave polgons Concave polgons present problems for computer graphics Splitting them up will get us conve polgons Define edge vector E k as the vector V k+ -V k, where the V s are adjacent vertices Calculate the edge cross products in order counter-clockwise around the polgon If an z component of a cross product is negative the polgon is concave and can be split along the line from the first edge in the cross product Wednesda, November 7, 27 Computer Graphics - Class 5 9
10 Triangularization A conve polgon can easil be triangularized (sometimes also referred to as tessellated) Define three consecutive vertices of the polgon as a triangle Remove the middle verte from the polgon s verte list Repeat with the modified list until onl three vertices remain, forming the last triangle Wednesda, November 7, 27 Computer Graphics - Class 5
11 Is a point inside a polgon? Even-odd test: construct a line from point to a point known to be outside polgon count # of intersections of line with boundar if odd, point is inside if crossing occurs at a verte look at endpoints of the edges that meet if both endpoints are on same side of line segment then the verte counts as an even number of crossings, otherwise it counts as an odd number Wednesda, November 7, 27 Computer Graphics - Class 5
12 N-gons An n-gon is a regular polgon of n sides Wednesda, November 7, 27 Computer Graphics - Class 5 2
13 Rosettes Rosettes are n-gons where each verte has been joined to each other verte Wednesda, November 7, 27 Computer Graphics - Class 5 3
14 A cube Consider a cube Pair off and come up with: A set of vertices for the cube A sequence of OpenGL statements to draw the cube How man function calls are ou making? Wednesda, November 7, 27 Computer Graphics - Class 5 4
15 Verte arras Allow ou to specif geometr with much fewer function calls For eample, the cube can be drawn in just one function call Create an arra of verte data and use glvertepointer() to refer to it Need to enable this with glenableclientstate (GL_VERTEX_ARRAY); Wednesda, November 7, 27 Computer Graphics - Class 5 5
16 glvertepointer() Four parameters: Size: number of coordinates per verte; must be 2, 3, or 4 Tpe: the data tpe of each coordinate in the arra Stride: the bte offset between consecutive vertices (frequentl ) Pointer: a pointer to the first coordinate of the first verte in the arra Wednesda, November 7, 27 Computer Graphics - Class 5 6
17 Inde arra Need a second arra with indices into the verte arra to specif which vertices make up each face of our geometr gldrawelements() is then used to draw the geometr Wednesda, November 7, 27 Computer Graphics - Class 5 7
18 gldrawelements() Four parameters: Mode: specified what kind of geometric primitives to render Count: number of vertices in the inde arra to be rendered Tpe: the tpe of the values in the inde arra; must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT Indices: a pointer to the arra of indices into the verte arra Wednesda, November 7, 27 Computer Graphics - Class 5 8
19 Eample program rotatingcube.c demonstrates verte arras and introduces the idle callback function Wednesda, November 7, 27 Computer Graphics - Class 5 9
20 Transformation matrices A transformation matri is a matri that transforms a point to another point In 2-dimensions, this has the following algebraic form: a a 2 a a 2 22 p p = a a 2 p p + + a a 2 22 p p Wednesda, November 7, 27 Computer Graphics - Class 5 2
21 Wednesda, November 7, 27 Computer Graphics - Class 5 2 Uniform scaling Given a scale factor s >, a matri which produces a uniform scaling is Eample: s s = sp sp p p s s
22 Wednesda, November 7, 27 Computer Graphics - Class 5 22 Non-uniform scaling Given scale factors s > and s >, a matri which produces non-uniform scaling is Eample: s s = p s p s p p s s
23 Comparison of scalings Uniform scaling preserves shape Non-uniform scaling introduces distortion Wednesda, November 7, 27 Computer Graphics - Class 5 23
24 Two scalings in a row Two scalings in a row have a multiplicative effect P = S P P = S 2 P = S 2 S P Note the order of the scales appears to be reversed (S 2 before S ), but it s not Wednesda, November 7, 27 Computer Graphics - Class 5 24
25 Wednesda, November 7, 27 Computer Graphics - Class 5 25 Composite transformation matri The product of two or more transformation matrices is known as a composite transformation matri For our two scalings we have = s s s s s s s s
26 A side effect Note that an object which does not have the origin inside it will be moved as well b a scaling We will see how to correct this effect shortl Wednesda, November 7, 27 Computer Graphics - Class 5 26
27 Reflections Reflection through the -ais negates the coordinate: Reflection through the -ais negates the coordinate: Wednesda, November 7, 27 Computer Graphics - Class 5 27
28 Rotation Rotation transforms a point in a circular manner Positive angles impl a counter-clockwise rotation Wednesda, November 7, 27 Computer Graphics - Class 5 28
29 The geometr of rotation (, ) r r (,) θ φ (, ) = (r cos φ, r sin φ) (, ) = (r cos (φ+θ), r sin (φ+θ)) Wednesda, November 7, 27 Computer Graphics - Class 5 29
30 Rotation formula (, ) = (r cos φ, r sin φ) (, ) = (r cos (φ+θ), r sin (φ+θ)) Recall sum of angle trig formulas: sin (φ+θ) = sin φ cos θ + cos φ sin θ cos (φ+θ) = cos φ cos θ -sin φ sin θ = r (cos φ cos θ - sin φ sin θ) = cos θ - sin θ = r (sin φ cos θ + cos φ sin θ) = cos θ + sin θ = sin θ + cos θ Wednesda, November 7, 27 Computer Graphics - Class 5 3
31 Rotation matri Results from the previous slide give the matri for rotation: ' ' cos sin = θ θ cos sin θ θ sin cos θ θ sin cos θ θ Wednesda, November 7, 27 Computer Graphics - Class 5 3
32 Two rotations in a row Two rotations in a row have an additive effect on the angles P = R P P = R 2 P = R 2 R P θ θ θ cos 2 sinθ2 sin cosθ cosθ 2 cosθ sinθ2 sinθ sinθ2 cosθ + cosθ 2 sinθ cos( θ2 + θ) sin( θ2 + θ) 2 2 cos sinθ sin( θ2 + θ) cos( θ + ) 2 θ sinθ = cosθ (cosθ sinθ + sinθ sinθ + sinθ2 cosθ) cosθ cos 2 θ Wednesda, November 7, 27 Computer Graphics - Class =
33 Reflection through = = 45 Rotate point -45 so that reflection line is -ais Reflect through -ais Rotate 45 back Wednesda, November 7, 27 Computer Graphics - Class 5 33
34 . Rotate -45 Recall matri to perform rotation: Fill in θ = -45 : cos( 45 ) sin( 45 ) cosθ sinθ sinθ cosθ sin( 45 ) cos( 45 ) = Wednesda, November 7, 27 Computer Graphics - Class 5 34
35 2. Reflect through -ais Recall matri for -ais reflection: Wednesda, November 7, 27 Computer Graphics - Class 5 35
36 3. Rotate back Recall matri to perform rotation: Fill in θ = 45 : cos(45 ) sin(45 ) cosθ sinθ sin(45 ) cos(45 ) sinθ cosθ = Wednesda, November 7, 27 Computer Graphics - Class 5 36
37 Compute the total transformation Take each transformation matri in the order the transformations need to be applied and multipl them together: = Wednesda, November 7, 27 Computer Graphics - Class 5 37
38 Wednesda, November 7, 27 Computer Graphics - Class 5 38 Result The result of reflecting a point through = is the switching of the and coordinates of the point = = ' '
39 Another transformation Find the transformation that reflects a point through the line = 2. =2 Wednesda, November 7, 27 Computer Graphics - Class 5 39
40 The steps Translate b -2 in the direction Reflect through the -ais Translate back Wednesda, November 7, 27 Computer Graphics - Class 5 4
41 Wednesda, November 7, 27 Computer Graphics - Class 5 4 Translation Translation is a transformation that results in a linear movement of a point + + = + = T T T T ' '
42 A problem with translation Ever other transformation we have looked at could be epressed using a 2 2 matri and multipling the point b the matri Translation cannot be epressed this wa as we need to add fied amounts to the and coordinates Wednesda, November 7, 27 Computer Graphics - Class 5 42
43 A solution So that translation behaves like our other transformations we want to epress it using a matri and multipling the point b the matri Will need to add an etra coordinate to our point This coordinate will have the value Wednesda, November 7, 27 Computer Graphics - Class 5 43
44 Wednesda, November 7, 27 Computer Graphics - Class 5 44 Translation matri The matri for doing a translation is Eample: T T + + = T T T T
45 Homogeneous coordinates This new representation for our points (with the in the etra coordinate) is known as homogeneous coordinates There are times when the homogeneous coordinate is not ; we ll see this in perspective projections Wednesda, November 7, 27 Computer Graphics - Class 5 45
46 New versions of transformation matrices Homogeneous coordinates requires a change in the transformation matrices to accommodate the etra coordinate Matrices will now be 3 3 Eample: uniform scaling s Wednesda, November 7, 27 Computer Graphics - Class 5 46 s
47 Wednesda, November 7, 27 Computer Graphics - Class 5 47 The transformations for our problem Translate b -2 in Reflect through -ais Translate b +2 in = 2 A = B = 2 C
48 The composite transformation The composite transformation for reflecting a point through the line =2 is found b multipling CBA: 4 Wednesda, November 7, 27 Computer Graphics - Class 5 48
49 Rotations about an arbitrar point The rotations we have considered so far all occur around the origin Suppose ou had the following figure, which ou would like to rotate about its center: Wednesda, November 7, 27 Computer Graphics - Class 5 49
50 Rotation analsis If we applied the rotation transformation as we currentl have it, the square would rotate about the origin This is not what we want We want the square to rotate in place Thus, we need to make the center of the square the point of rotation Wednesda, November 7, 27 Computer Graphics - Class 5 5
51 Fied points We call the point about which we want to rotate a fied point as it will not change its position during the transformation The same concept can be applied to scaling as well Wednesda, November 7, 27 Computer Graphics - Class 5 5
52 Wednesda, November 7, 27 Computer Graphics - Class 5 52 Steps for arbitrar rotation Translate the fied point to the origin Perform the rotation around the origin Translate the fied point back to its position = c c A = c c C = cos sin sin cos θ θ θ θ B
53 Reflection through an arbitrar line Consider the following picture: What steps are necessar to perform the indicated reflection? Wednesda, November 7, 27 Computer Graphics - Class 5 53
54 Arbitrar reflection transformation Sequence for arbitrar reflection: Translate line b its -intercept so that it goes through origin (T) Rotate around origin so line lies on -ais (R) Reflect through -ais (X) Rotate back (R - ) Translate back (T - ) Composite: T - R - XRT Wednesda, November 7, 27 Computer Graphics - Class 5 54
Two Dimensional Viewing
Two Dimensional Viewing Dr. S.M. Malaek Assistant: M. Younesi Two Dimensional Viewing Basic Interactive Programming Basic Interactive Programming User controls contents, structure, and appearance of objects
More information1. We ll look at: Types of geometrical transformation. Vector and matrix representations
Tob Howard COMP272 Computer Graphics and Image Processing 3: Transformations Tob.Howard@manchester.ac.uk Introduction We ll look at: Tpes of geometrical transformation Vector and matri representations
More informationCS F-07 Objects in 2D 1
CS420-2010F-07 Objects in 2D 1 07-0: Representing Polgons We want to represent a simple polgon Triangle, rectangle, square, etc Assume for the moment our game onl uses these simple shapes No curves for
More informationWhat and Why Transformations?
2D transformations What and Wh Transformations? What? : The geometrical changes of an object from a current state to modified state. Changing an object s position (translation), orientation (rotation)
More informationCS559: Computer Graphics
CS559: Computer Graphics Lecture 8: 3D Transforms Li Zhang Spring 28 Most Slides from Stephen Chenne Finish Color space Toda 3D Transforms and Coordinate sstem Reading: Shirle ch 6 RGB and HSV Green(,,)
More information[ ] [ ] Orthogonal Transformation of Cartesian Coordinates in 2D & 3D. φ = cos 1 1/ φ = tan 1 [ 2 /1]
Orthogonal Transformation of Cartesian Coordinates in 2D & 3D A vector is specified b its coordinates, so it is defined relative to a reference frame. The same vector will have different coordinates in
More informationReteaching Golden Ratio
Name Date Class Golden Ratio INV 11 You have investigated fractals. Now ou will investigate the golden ratio. The Golden Ratio in Line Segments The golden ratio is the irrational number 1 5. c On the line
More informationImage Warping : Computational Photography Alexei Efros, CMU, Fall Some slides from Steve Seitz
Image Warping http://www.jeffre-martin.com Some slides from Steve Seitz 5-463: Computational Photograph Aleei Efros, CMU, Fall 2 Image Transformations image filtering: change range of image g() T(f())
More informationPlot and connect the points in a coordinate plane to make a polygon. Name the polygon.
. Start Thinking Find at least two objects in each of the following categories: circle, square, triangle, and rectangle (nonsquare). Use a table to compare each object of the same categor in the following
More informationModeling Transformations
Modeling Transformations Michael Kazhdan (601.457/657) HB Ch. 5 FvDFH Ch. 5 Overview Ra-Tracing so far Modeling transformations Ra Tracing Image RaTrace(Camera camera, Scene scene, int width, int heigh,
More informationEditing and Transformation
Lecture 5 Editing and Transformation Modeling Model can be produced b the combination of entities that have been edited. D: circle, arc, line, ellipse 3D: primitive bodies, etrusion and revolved of a profile
More informationChapter 9 Transformations
Section 9-1: Reflections SOL: G.2 The student will use pictorial representations, including computer software, constructions, and coordinate methods, to solve problems involving smmetr and transformation.
More informationComputer Graphics. Geometric Transformations
Contents coordinate sstems scalar values, points, vectors, matrices right-handed and left-handed coordinate sstems mathematical foundations transformations mathematical descriptions of geometric changes,
More informationComputer Graphics. Geometric Transformations
Computer Graphics Geometric Transformations Contents coordinate sstems scalar values, points, vectors, matrices right-handed and left-handed coordinate sstems mathematical foundations transformations mathematical
More informationCSE328 Fundamentals of Computer Graphics: Theory, Algorithms, and Applications
CSE328 Fundamentals of Computer Graphics: Theor, Algorithms, and Applications Hong in State Universit of New York at Ston Brook (Ston Brook Universit) Ston Brook, New York 794-44 Tel: (63)632-845; Fa:
More informationImage Warping. Some slides from Steve Seitz
Image Warping http://www.jeffre-martin.com Some slides from Steve Seitz 5-463: Computational Photograph Aleei Efros, CMU, Fall 26 Image Warping image filtering: change range of image g() T(f()) f T f image
More informationTranslations, Reflections, and Rotations
Translations, Reflections, and Rotations The Marching Cougars Lesson 9-1 Transformations Learning Targets: Perform transformations on and off the coordinate plane. Identif characteristics of transformations
More informationPre-Algebra Notes Unit 13: Angle Relationships and Transformations
Pre-Algebra Notes Unit 13: Angle Relationships and Transformations Angle Relationships Sllabus Objectives: (7.1) The student will identif measures of complementar, supplementar, and vertical angles. (7.2)
More informationModeling Transformations
Modeling Transformations Michael Kazhdan (601.457/657) HB Ch. 5 FvDFH Ch. 5 Announcement Assignment 2 has been posted: Due: 10/24 ASAP: Download the code and make sure it compiles» On windows: just build
More information12.1. Angle Relationships. Identifying Complementary, Supplementary Angles. Goal: Classify special pairs of angles. Vocabulary. Complementary. angles.
. Angle Relationships Goal: Classif special pairs of angles. Vocabular Complementar angles: Supplementar angles: Vertical angles: Eample Identifing Complementar, Supplementar Angles In quadrilateral PQRS,
More informationGlossary alternate interior angles absolute value function Example alternate exterior angles Example angle of rotation Example
Glossar A absolute value function An absolute value function is a function that can be written in the form, where is an number or epression. alternate eterior angles alternate interior angles Alternate
More informationMath 26: Fall (part 1) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pythagorean Identity)
Math : Fall 0 0. (part ) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pthagorean Identit) Cosine and Sine Angle θ standard position, P denotes point where the terminal side of
More informationName Class Date. subtract 3 from each side. w 5z z 5 2 w p - 9 = = 15 + k = 10m. 10. n =
Reteaching Solving Equations To solve an equation that contains a variable, find all of the values of the variable that make the equation true. Use the equalit properties of real numbers and inverse operations
More information5 and Parallel and Perpendicular Lines
Ch 3: Parallel and Perpendicular Lines 3 1 Properties of Parallel Lines 3 Proving Lines Parallel 3 3 Parallel and Perpendicular Lines 3 Parallel Lines and the Triangle Angles Sum Theorem 3 5 The Polgon
More informationImage Metamorphosis By Affine Transformations
Image Metamorphosis B Affine Transformations Tim Mers and Peter Spiegel December 16, 2005 Abstract Among the man was to manipulate an image is a technique known as morphing. Image morphing is a special
More information4. Two Dimensional Transformations
4. Two Dimensional Transformations CS362 Introduction to Computer Graphics Helena Wong, 2 In man applications, changes in orientations, sizes, and shapes are accomplished with geometric transformations
More informationTrigonometry Review Day 1
Name Trigonometry Review Day 1 Algebra II Rotations and Angle Terminology II Terminal y I Positive angles rotate in a counterclockwise direction. Reference Ray Negative angles rotate in a clockwise direction.
More informationCS Computer Graphics: Transformations & The Synthetic Camera
CS 543 - Computer Graphics: Transformations The Snthetic Camera b Robert W. Lindeman gogo@wpi.edu (with help from Emmanuel Agu ;-) Introduction to Transformations A transformation changes an objects Size
More informationGraphics and Interaction Transformation geometry and homogeneous coordinates
433-324 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation
More informationCOMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates
COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation
More informationCS770/870 Spring 2017 Transformations
CS770/870 Spring 2017 Transformations Coordinate sstems 2D Transformations Homogeneous coordinates Matrices, vectors, points Coordinate Sstems Coordinate sstems used in graphics Screen coordinates: the
More informationChap 7, 2009 Spring Yeong Gil Shin
Three-Dimensional i Viewingi Chap 7, 29 Spring Yeong Gil Shin Viewing i Pipeline H d fi i d? How to define a window? How to project onto the window? Rendering "Create a picture (in a snthetic camera) Specification
More informationComputer Graphics. Lecture 3 Graphics Output Primitives. Somsak Walairacht, Computer Engineering, KMITL
Computer Graphics Lecture 3 Graphics Output Primitives Somsa Walairacht, Computer Engineering, KMITL Outline Line Drawing Algorithms Circle-, Ellipse-Generating Algorithms Fill-Area Primitives Polgon Fill
More informationImage Warping. Many slides from Alyosha Efros + Steve Seitz. Photo by Sean Carroll
Image Warping Man slides from Alosha Efros + Steve Seitz Photo b Sean Carroll Morphing Blend from one object to other with a series of local transformations Image Transformations image filtering: change
More informationSTRAND I: Geometry and Trigonometry. UNIT 37 Further Transformations: Student Text Contents. Section Reflections. 37.
MEP Jamaica: STRN I UNIT 7 Further Transformations: Student Tet ontents STRN I: Geometr and Trigonometr Unit 7 Further Transformations Student Tet ontents Section 7. Reflections 7. Rotations 7. Translations
More informationH Geo Final Review Packet Multiple Choice Identify the choice that best completes the statement or answers the question.
H Geo Final Review Packet Multiple Choice Identif the choice that best completes the statement or answers the question. 1. Which angle measures approximatel 7?.. In the figure below, what is the name of
More information3D Geometry and Camera Calibration
3D Geometr and Camera Calibration 3D Coordinate Sstems Right-handed vs. left-handed 2D Coordinate Sstems ais up vs. ais down Origin at center vs. corner Will often write (u, v) for image coordinates v
More informationAnswers to practice questions for Midterm 1
Answers to practice questions for Midterm Paul Hacking /5/9 (a The RREF (reduced row echelon form of the augmented matrix is So the system of linear equations has exactly one solution given by x =, y =,
More informationThink About. Unit 5 Lesson 3. Investigation. This Situation. Name: a Where do you think the origin of a coordinate system was placed in creating this
Think About This Situation Unit 5 Lesson 3 Investigation 1 Name: Eamine how the sequence of images changes from frame to frame. a Where do ou think the origin of a coordinate sstem was placed in creating
More informationComputer Graphics. 2D Transforma5ons. Review Vertex Transforma5ons 2/3/15. adjust the zoom. posi+on the camera. posi+on the model
/3/5 Computer Graphics D Transforma5ons Review Verte Transforma5ons posi+on the model posi+on the camera adjust the zoom verte shader input verte shader output, transformed /3/5 From Object to World Space
More informationGLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner
GLOBAL EDITION Interactive Computer Graphics A Top-Down Approach with WebGL SEVENTH EDITION Edward Angel Dave Shreiner This page is intentionall left blank. 4.10 Concatenation of Transformations 219 in
More informationCS 335 Graphics and Multimedia. Geometric Warping
CS 335 Graphics and Multimedia Geometric Warping Geometric Image Operations Eample transformations Straightforward methods and their problems The affine transformation Transformation algorithms: Forward
More informationInteractive Computer Graphics. Warping and morphing. Warping and Morphing. Warping and Morphing. Lecture 14+15: Warping and Morphing. What is.
Interactive Computer Graphics Warping and morphing Lecture 14+15: Warping and Morphing Lecture 14: Warping and Morphing: Slide 1 Lecture 14: Warping and Morphing: Slide 2 Warping and Morphing What is Warping
More information9 3 Rotations 9 4 Symmetry
h 9: Transformations 9 1 Translations 9 Reflections 9 3 Rotations 9 Smmetr 9 1 Translations: Focused Learning Target: I will be able to Identif Isometries. Find translation images of figures. Vocabular:
More informationProperties Transformations
9 Properties of Transformations 9. Translate Figures and Use Vectors 9.2 Use Properties of Matrices 9.3 Perform Reflections 9.4 Perform Rotations 9.5 ppl ompositions of Transformations 9.6 Identif Smmetr
More informationModeling Transformations Revisited
Modeling Transformations Revisited Basic 3D Transformations Translation Scale Shear Rotation 3D Transformations Same idea as 2D transformations o Homogeneous coordinates: (,,z,w) o 44 transformation matrices
More informationTHE INVERSE GRAPH. Finding the equation of the inverse. What is a function? LESSON
LESSON THE INVERSE GRAPH The reflection of a graph in the line = will be the graph of its inverse. f() f () The line = is drawn as the dotted line. Imagine folding the page along the dotted line, the two
More information2D Object Definition (1/3)
2D Object Definition (1/3) Lines and Polylines Lines drawn between ordered points to create more complex forms called polylines Same first and last point make closed polyline or polygon Can intersect itself
More informationMath 462: Review questions
Math 462: Review questions Paul Hacking 4/22/10 (1) What is the angle between two interior diagonals of a cube joining opposite vertices? [Hint: It is probably quickest to use a description of the cube
More informationSummer Dear Geometry Students and Parents:
Summer 2018 Dear Geometry Students and Parents: Welcome to Geometry! For the 2018-2019 school year, we would like to focus your attention to the prerequisite skills and concepts for Geometry. In order
More informationMatrix Representations
CONDENSED LESSON 6. Matri Representations In this lesson, ou Represent closed sstems with transition diagrams and transition matrices Use matrices to organize information Sandra works at a da-care center.
More informationImage warping. image filtering: change range of image. image warping: change domain of image g(x) = f(h(x)) h(y)=0.5y+0.5. h([x,y])=[x,y/2] f h
Image warping Image warping image filtering: change range of image g() () = h(f()) h(f()) f h g h()=0.5+0.5 image warping: change domain of image g() = f(h()) f h g h([,])=[,/2] Parametric (global) warping
More informationImage Warping. Some slides from Steve Seitz
Image Warping http://www.jeffre-martin.com Some slides from Steve Seitz 5-463: Computational Photograph Aleei Efros, CMU, Spring 2 Image Transformations image filtering: change range of image g() = T(f())
More informationCSE528 Computer Graphics: Theory, Algorithms, and Applications
CSE528 Computer Graphics: Theor, Algorithms, and Applications Hong Qin State Universit of New York at Ston Brook (Ston Brook Universit) Ston Brook, New York 794--44 Tel: (63)632-845; Fa: (63)632-8334 qin@cs.sunsb.edu
More informationangle The figure formed by two lines with a common endpoint called a vertex. angle bisector The line that divides an angle into two equal parts.
A angle The figure formed b two lines with a common endpoint called a verte. verte angle angle bisector The line that divides an angle into two equal parts. circle A set of points that are all the same
More informationParallel Lines Investigation
Year 9 - The Maths Knowledge Autumn 1 (x, y) Along the corridor, up the stairs (3,1) x = 3 Gradient (-5,-2) (0,0) y-intercept Vertical lines are always x = y = 6 Horizontal lines are always y = Parallel
More informationTransformations of Functions. 1. Shifting, reflecting, and stretching graphs Symmetry of functions and equations
Chapter Transformations of Functions TOPICS.5.. Shifting, reflecting, and stretching graphs Smmetr of functions and equations TOPIC Horizontal Shifting/ Translation Horizontal Shifting/ Translation Shifting,
More informationModule 2, Section 2 Graphs of Trigonometric Functions
Principles of Mathematics Section, Introduction 5 Module, Section Graphs of Trigonometric Functions Introduction You have studied trigonometric ratios since Grade 9 Mathematics. In this module ou will
More information8.6 Three-Dimensional Cartesian Coordinate System
SECTION 8.6 Three-Dimensional Cartesian Coordinate Sstem 69 What ou ll learn about Three-Dimensional Cartesian Coordinates Distance and Midpoint Formulas Equation of a Sphere Planes and Other Surfaces
More informationDouble Integrals in Polar Coordinates
Double Integrals in Polar Coordinates. A flat plate is in the shape of the region in the first quadrant ling between the circles + and +. The densit of the plate at point, is + kilograms per square meter
More information3D graphics rendering pipeline (1) 3D graphics rendering pipeline (3) 3D graphics rendering pipeline (2) 8/29/11
3D graphics rendering pipeline (1) Geometr Rasteriation 3D Coordinates & Transformations Prof. Aaron Lanterman (Based on slides b Prof. Hsien-Hsin Sean Lee) School of Electrical and Computer Engineering
More informationComputer Graphics. P04 Transformations. Aleksandra Pizurica Ghent University
Computer Graphics P4 Transformations Aleksandra Pizurica Ghent Universit Telecommunications and Information Processing Image Processing and Interpretation Group Transformations in computer graphics Goal:
More informationThe Marching Cougars Lesson 9-1 Transformations
The Marching Cougars Lesson 9-1 Learning Targets: Perform transformations on and off the coordinate plane. Identif characteristics of transformations that are rigid motions and characteristics of transformations
More informationWe can use square dot paper to draw each view (top, front, and sides) of the three dimensional objects:
Unit Eight Geometry Name: 8.1 Sketching Views of Objects When a photo of an object is not available, the object may be drawn on triangular dot paper. This is called isometric paper. Isometric means equal
More informationGRAPHICS OUTPUT PRIMITIVES
CHAPTER 3 GRAPHICS OUTPUT PRIMITIVES LINE DRAWING ALGORITHMS DDA Line Algorithm Bresenham Line Algorithm Midpoint Circle Algorithm Midpoint Ellipse Algorithm CG - Chapter-3 LINE DRAWING Line drawing is
More informationGraphics Output Primitives
Important Graphics Output Primitives Graphics Output Primitives in 2D polgons, circles, ellipses & other curves piel arra operations in 3D triangles & other polgons Werner Purgathofer / Computergraphik
More informationCS 548: COMPUTER GRAPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 2015 DR. MICHAEL J. REALE
CS 548: COMPUTER GRPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 05 DR. MICHEL J. RELE NOTE: COUNTERCLOCKWISE ORDER ssuming: Right-handed sstem Vertices in counterclockwise order looking at front of polgon
More information3D Coordinates & Transformations
3D Coordinates & Transformations Prof. Aaron Lanterman (Based on slides b Prof. Hsien-Hsin Sean Lee) School of Electrical and Computer Engineering Georgia Institute of Technolog 3D graphics rendering pipeline
More information13.2. General Angles and Radian Measure. What you should learn
Page 1 of 1. General Angles and Radian Measure What ou should learn GOAL 1 Measure angles in standard position using degree measure and radian measure. GOAL Calculate arc lengths and areas of sectors,
More informationConnecting Algebra and Geometry with Polygons
Connecting Algebra and Geometr with Polgons 15 Circles are reall important! Once ou know our wa around a circle, ou can use this knowledge to figure out a lot of other things! 15.1 Name That Triangle!
More information20 Calculus and Structures
0 Calculus and Structures CHAPTER FUNCTIONS Calculus and Structures Copright LESSON FUNCTIONS. FUNCTIONS A function f is a relationship between an input and an output and a set of instructions as to how
More informationDetermining the 2d transformation that brings one image into alignment (registers it) with another. And
Last two lectures: Representing an image as a weighted combination of other images. Toda: A different kind of coordinate sstem change. Solving the biggest problem in using eigenfaces? Toda Recognition
More informationHigh Dimensional Rendering in OpenGL
High Dimensional Rendering in OpenGL Josh McCo December, 2003 Description of Project Adding high dimensional rendering capabilit to the OpenGL graphics programming environment is the goal of this project
More informationComputer Graphics. Modelling in 2D. 2D primitives. Lines and Polylines. OpenGL polygon primitives. Special polygons
Computer Graphics Modelling in D Lecture School of EECS Queen Mar, Universit of London D primitives Digital line algorithms Digital circle algorithms Polgon filling CG - p.hao@qmul.ac.uk D primitives Line
More informationHomogeneous Coordinates
COMS W4172 3D Math 2 Steven Feiner Department of Computer Science Columbia Universit New York, NY 127 www.cs.columbia.edu/graphics/courses/csw4172 Februar 1, 218 1 Homogeneous Coordinates w X W Y X W Y
More information3-Dimensional Viewing
CHAPTER 6 3-Dimensional Vieing Vieing and projection Objects in orld coordinates are projected on to the vie plane, hich is defined perpendicular to the vieing direction along the v -ais. The to main tpes
More informationWorksheet on Line Symmetry & Rotational Symmetry
Gr. 9 Math 8. - 8.7 Worksheet on Line Smmetr & Rotational Smmetr Multiple Choice Identif the choice that best completes the statement or answers the question.. Which shapes have at least lines of smmetr?
More informationGeometric Model of Camera
Geometric Model of Camera Dr. Gerhard Roth COMP 42A Winter 25 Version 2 Similar Triangles 2 Geometric Model of Camera Perspective projection P(X,Y,Z) p(,) f X Z f Y Z 3 Parallel lines aren t 4 Figure b
More informationGrade 7/8 Math Circles Fall October 9/10/11 Angles and Light
Facult of Mathematics Waterloo, Ontario N2L 3G1 Grade 7/8 Math Circles Fall 2018 - October 9/10/11 Angles and Light Centre for Education in Mathematics and Computing Toda we will be learning about angles.
More informationIsometries and Congruence
Honors Geometr Section.1 Name: Date: Period: Isometries and Congruence transformation of a geometric figure is a change in its position, shape, or size.. The original figure is called the preimage. The
More informationTransformations. which the book introduces in this chapter. If you shift the graph of y 1 x to the left 2 units and up 3 units, the
CHAPTER 8 Transformations Content Summar In Chapter 8, students continue their work with functions, especiall nonlinear functions, through further stud of function graphs. In particular, the consider three
More informationSTRAND J: TRANSFORMATIONS, VECTORS and MATRICES
Mathematics SKE, Strand J UNIT J Further Transformations: Tet STRND J: TRNSFORMTIONS, VETORS and MTRIES J Further Transformations Tet ontents Section J.1 Translations * J. ombined Transformations Mathematics
More informationPolar Functions Polar coordinates
548 Chapter 1 Parametric, Vector, and Polar Functions 1. What ou ll learn about Polar Coordinates Polar Curves Slopes of Polar Curves Areas Enclosed b Polar Curves A Small Polar Galler... and wh Polar
More informationLESSON 3.1 INTRODUCTION TO GRAPHING
LESSON 3.1 INTRODUCTION TO GRAPHING LESSON 3.1 INTRODUCTION TO GRAPHING 137 OVERVIEW Here s what ou ll learn in this lesson: Plotting Points a. The -plane b. The -ais and -ais c. The origin d. Ordered
More informationScene Graphs & Modeling Transformations COS 426
Scene Graphs & Modeling Transformations COS 426 3D Object Representations Points Range image Point cloud Surfaces Polgonal mesh Subdivision Parametric Implicit Solids Voels BSP tree CSG Sweep High-level
More informationMidterm Review. Wen-Chieh (Steve) Lin Department of Computer Science
Midterm Review Wen-Chieh (Steve) Lin Department of Computer Science Administration Assignment due on /3 :59 PM Midterm eam on /6 (Monda) Lecture slides Chapter 3 ecluding 3.6 & 3.8 Chapter 6, 7, 8 Chapter
More informationName: [20 points] Consider the following OpenGL commands:
Name: 2 1. [20 points] Consider the following OpenGL commands: glmatrimode(gl MODELVIEW); glloadidentit(); glrotatef( 90.0, 0.0, 1.0, 0.0 ); gltranslatef( 2.0, 0.0, 0.0 ); glscalef( 2.0, 1.0, 1.0 ); What
More informationUnit 6 Introduction to Trigonometry The Unit Circle (Unit 6.3)
Unit Introduction to Trigonometr The Unit Circle Unit.) William Bill) Finch Mathematics Department Denton High School Introduction Trig Functions Circle Quadrental Angles Other Angles Unit Circle Periodic
More informationGrade 6 Math Circles February 29, D Geometry
1 Universit of Waterloo Facult of Mathematics Centre for Education in Mathematics and Computing Grade 6 Math Circles Feruar 29, 2012 2D Geometr What is Geometr? Geometr is one of the oldest ranches in
More information521493S Computer Graphics Exercise 2 Solution (Chapters 4-5)
5493S Computer Graphics Exercise Solution (Chapters 4-5). Given two nonparallel, three-dimensional vectors u and v, how can we form an orthogonal coordinate system in which u is one of the basis vectors?
More informationTransformations II. Week 2, Wed Jan 17
Universit of British Columbia CPSC 34 Computer Graphics Jan-Apr 27 Tamara Munzner Transformations II Week 2, Wed Jan 7 http://www.ugrad.cs.ubc.ca/~cs34/vjan27 Readings for Jan 5-22 FCG Chap 6 Transformation
More informationMore Coordinate Graphs. How do we find coordinates on the graph?
Lesson Problem Solving: More Coordinate Graphs Problem Solving: More Coordinate Graphs How do we find coordinates on the graph? We use coordinates to find where the dot goes on the coordinate graph. From
More informationWRITING AND GRAPHING LINEAR EQUATIONS ON A FLAT SURFACE #1313
WRITING AND GRAPHING LINEAR EQUATIONS ON A FLAT SURFACE #11 SLOPE is a number that indicates the steepness (or flatness) of a line, as well as its direction (up or down) left to right. SLOPE is determined
More informationName: Unit 8 Beaumont Middle School 8th Grade, Advanced Algebra I T Q R U
Unit 8 eaumont Middle School 8th Grade, 2015-2016 dvanced lgebra I Name: P T Q R U S I can define ke terms and identif tpes of angles and adjacent angles. I can identif vertical, supplementar and complementar
More information14-1. Translations. Vocabulary. Lesson
Chapter 1 Lesson 1-1 Translations Vocabular slide, translation preimage translation image congruent figures Adding fied numbers to each of the coordinates of a figure has the effect of sliding or translating
More informationLesson 5: Definition of Rotation and Basic Properties
Student Outcomes Students know how to rotate a figure a given degree around a given center. Students know that rotations move lines to lines, rays to rays, segments to segments, and angles to angles. Students
More informationCS 157: Assignment 6
CS 7: Assignment Douglas R. Lanman 8 Ma Problem : Evaluating Conve Polgons This write-up presents several simple algorithms for determining whether a given set of twodimensional points defines a conve
More informationImage warping/morphing
Image warping/morphing Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/20 with slides b Richard Szeliski, Steve Seitz, Tom Funkhouser and Aleei Efros Image warping Image formation B A Sampling
More informationUnit 2: Trigonometry. This lesson is not covered in your workbook. It is a review of trigonometry topics from previous courses.
Unit 2: Trigonometry This lesson is not covered in your workbook. It is a review of trigonometry topics from previous courses. Pythagorean Theorem Recall that, for any right angled triangle, the square
More informationPATTERNS AND ALGEBRA. He opened mathematics to many discoveries and exciting applications.
PATTERNS AND ALGEBRA The famous French philosopher and mathematician René Descartes (596 65) made a great contribution to mathematics in 67 when he published a book linking algebra and geometr for the
More information