Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.

Slides:



Advertisements
Similar presentations
1 3D Vector & Matrix Chapter 2. 2 Vector Definition: Vector is a line segment that has the direction. The length of the line segment is called the magnitude.
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Maths for Computer Graphics
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
CS5500 Computer Graphics March 22, Angel: Interactive Computer Graphics 3E © Addison-Wesley 2002 Coordinate-Free Geometry When we learned simple.
Now Playing: My Mathematical Mind Spoon From Gimme Fiction Released May 10, 2005.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Computer Graphics CSC 630 Lecture 2- Linear Algebra.
Chapter 3 Determinants and Matrices
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
Representation CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Lecture 1eee3401 Chapter 2. Vector Analysis 2-2, 2-3, Vector Algebra (pp ) Scalar: has only magnitude (time, mass, distance) A,B Vector: has both.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Computer Graphics (Fall 2005) COMS 4160, Lecture 2: Review of Basic Math
Graphics Graphics Korea University cgvr.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Vectors and Matrices Class 17.1 E: Ch. 5.
Intro to Matrices Don’t be scared….
CE 311 K - Introduction to Computer Methods Daene C. McKinney
2IV60 Computer Graphics Basic Math for CG
Multiplication with Vectors
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
Math Primer for CG Ref: Interactive Computer Graphics, Chap. 4, E. Angel.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
Chapter 4.1 Mathematical Concepts
Vectors & Matrices Marq Singer
Geometry CSC 2141 Introduction to Computer Graphics.
Graphics Graphics Korea University cgvr.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Mathematics for Computer Graphics. Lecture Summary Matrices  Some fundamental operations Vectors  Some fundamental operations Geometric Primitives:
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
CSCE 552 Spring 2011 Math By Jijun Tang. Layered.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Graphics Graphics Korea University Mathematics for Computer Graphics Graphics Laboratory Korea University.
Sect. 4.2: Orthogonal Transformations
Magnitude of a Vector The magnitude of a vector, denoted as |a|, is defined as the square root of the sum of the squares of its components: |a| = (x 2.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Background The Physics Knowledge Expected for this Course: Newton’s Laws of Motion  the “Theme of the Course” –Energy & momentum conservation –Elementary.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 52 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 52 Computer Graphics Three-Dimensional Graphics I.
Sec 13.3The Dot Product Definition: The dot product is sometimes called the scalar product or the inner product of two vectors.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
A rule that combines two vectors to produce a scalar.
1 Graphics CSCI 343, Fall 2015 Lecture 9 Geometric Objects.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner Math Basics Week 1, Fri.
1 Representation. 2 Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Vectors and Dot Product 6.4 JMerrill, Quick Review of Vectors: Definitions Vectors are quantities that are described by direction and magnitude.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
6.4 Vectors and Dot Products Objectives: Students will find the dot product of two vectors and use properties of the dot product. Students will find angles.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
CSE 167 [Win 17], Lecture 2: Review of Basic Math Ravi Ramamoorthi
Linear Algebra review (optional)
Mathematics for Computer Graphics
Chapter 3 Linear Algebra
Linear Algebra review (optional)
Math review - scalars, vectors, and matrices
Presentation transcript:

Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG

Coordinate Reference Frames 2015/12/15 CG 2 See the powerpoint: Coordinate Reference Frames.ppt

Points and Vectors (1) 2015/12/15 CG 3 There is a fundamental difference between the concept of a geometric point and that of a vector. A point is a position specified with coordinate values in some reference frame. (depend on the choice for the frame of refernece) A vector has properties that are independent of any particular coordinate system. Point Properties Frame A Frame B x y P

Points and Vectors (2) 2015/12/15 CG 4 Vector Properties We can define a vector as the difference between two point positions. V x and V y are the projection V onto the x and the y axes. We can obtain these same vector components using two other point positions in the same coordinate reference frames. A vector has no fixed position within a coordinate system. We can describe a vector as a directed line segment that has two fundamental properties: magnitude and direction. P2P2 P1P1 V

Points and Vectors (3) 2015/12/15 CG 5 Magnitude: We can specify the vector direction in various ways, such as A vector has the same magnitude and direction within a single coordinate system. If we transform the vector to another reference frame, the value for its components and direction within that reference frame may change. For a three-dimensional Cartesian vector representation

Points and Vectors (4) 2015/12/15 CG 6 We can give the vector direction in terms of the direction angles, α, β, γ. The values cosα, cos β, cos γ are called the direction cosines of the vector. Vectors are used to represent any quantities that have the properties of magnitude and direction. (force and velocity) V γ β α z y x

Points and Vectors (5) 2015/12/15 CG 7 Vector Addition and Scalar Multiplication V2V2 V1V1 V2V2 V1V1 V 1 +V 2

Points and Vectors (6) 2015/12/15 CG 8 Scalar Product of two Vectors This multiplication scheme is called the scalar product or dot product. (inner product) is the projection of vector V 2 in the direction of V 1. In addition to the coordinate-independent form of the scalar product. V2V2 V1V1 θ

Points and Vectors (7) 2015/12/15 CG 9 The scalar product of two vectors is zero if and only if the two vectors are perpendicular (orthogonal)

Points and Vectors (8) 2015/12/15 CG 10 Vector Product of Two Vectors V2V2 V1V1 V 1 × V 2 u Cross product

Points and Vectors (9) 2015/12/15 CG 11

Matrices (1) 2015/12/15 CG 12 A matrix is a rectangular array of quantities, called the elements of the matrix. We identify matrices according to the number of rows and number of columns. When the number of rows is the same as the number of columns, this matrix is called a square matrix. An r by c matrix Row vector Column vector

Matrices (2) 2015/12/15 CG 13 The matrix representation for a three-dimensional vector in Cartesian coordinates as We use this standard matrix representation for both points and vectors.

Scalar Multiplication and Matrix Addition 2015/12/15 CG 14

Matrix Multiplication(1) 2015/12/15 CG 15 The product of two matrices is defined as a generalization of the vector dot product.

Matrix Multiplication(2) 2015/12/15 CG 16 AB≠BA A(B+C)=AB+AC

Matrix Transpose The transpose M T of a matrix is obtained by interchanging rows and columns. 2015/12/15 CG 17 (M1M2) T =M 2 T M 1 T

Determinant of a Matrix If we have a square matrix, we can combine the matrix elements to produce a single number called the determinant of the matrix. 2015/12/15 CG 18

Matrix Inverse With square matrices, we can obtain an inverse matrix if and only of the determinant of the matrix is nonzero. 2015/12/15 CG 19 Identity matrix