Introduction; Mathematical Foundations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.

Slides:



Advertisements
Similar presentations
Demetriou/Loizidou – ACSC330 – Chapter 4 Geometric Objects and Transformations Dr. Giorgos A. Demetriou Dr. Stephania Loizidou Himona Computer Science.
Advertisements

Trigonometry Right Angled Triangle. Hypotenuse [H]
Section 10.1 Tangent Ratios.
Trigonometric Ratios Contents IIntroduction to Trigonometric Ratios UUnit Circle AAdjacent, opposite side and hypotenuse of a right angle.
UBI 516 Advanced Computer Graphics
Properties of Scalars and Vectors. Vectors A vector contains two pieces of information: specific numerical value specific direction drawn as arrows on.
MAE152 Computer Graphicsfor Scientists and Engineers Revision of Matrices Relevance to 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.
Welcome to CSc 830 Advanced Computer Graphics
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Geometry Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
3-D Geometry.
Basic Math Vectors and Scalars Addition/Subtraction of Vectors Unit Vectors Dot Product.
Computer Graphics using OpenGL, 3 rd Edition F. S. Hill, Jr. and S. Kelley Chapter Vector Tools for Graphics.
Seven measuring the world (geo/metry). Measuring space This course is fundamentally about spaces of various kinds Physical space Image space Auditory.
CS 376b Introduction to Computer Vision 03 / 04 / 2008 Instructor: Michael Eckmann.
Vectors.
Trigonometry Chapters Theorem.
Basic Trigonometry.
Mathematics By: Andrew Reed-Stum. Equations Definition Equations- An expression or a proposition often algebraic, asserting the quantities.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Monday, 26 January 2004 William H. Hsu Department of.
Geometry CSC 2141 Introduction to Computer Graphics.
1 Geometry. 2 Objectives Introduce the elements of geometry ­Scalars ­Vectors ­Points Develop mathematical operations among them in a coordinate-free.
Scalars and Vectors Scalars are quantities that are fully described by a magnitude (or numerical value) alone. Vectors are quantities that are fully described.
Computer Graphics in Java1 Objects and Viewers Two basic entities (one object seen from two different positions) :
Unit 1 – Physics Math Algebra, Geometry and Trig..
Mathematical Foundations Sections A-1 to A-5 Some of the material in these slides may have been adapted from university of Virginia, MIT and Åbo Akademi.
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
Scalar Quantities A scalar quantity (measurement) is one that can be described with a single number (including units) giving its size or magnitude Examples:
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Background Mathematics Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006.
Trig. Functions & the Unit Circle. Trigonometry & the Unit Circle VERY important Trig. Identity.
7.2 Finding a Missing Side of a Triangle using Trigonometry
CS 551 / 645: Introductory Computer Graphics Mathematical Foundations.
S2B Chapter 11 Introduction to Trigonometric Ratios.
The Right Triangle Right Triangle Pythagorean Theorem
Trigonometric Method of Adding Vectors. Analytic Method of Addition Resolution of vectors into components: YOU MUST KNOW & UNDERSTAND TRIGONOMETERY TO.
Finding a Missing Angle of a Right Triangle. EXAMPLE #1  First: figure out what trig ratio to use in regards to the angle.  Opposite and Adjacent O,A.
David Luebke2/16/2016 CS 551 / 645: Introductory Computer Graphics Mathematical Foundations The Rendering Pipeline.
2/28/2016 CS 551 / 645: Introductory Computer Graphics Framebuffer Mathematical Foundations The Rendering Pipeline.
Trigonometry Chapters Theorem.
Computer Graphics I, Fall 2010 Geometry.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
VECTOR ADDITION Vectors Vectors Quantities have magnitude and direction and can be represented with; 1. Arrows 2. Sign Conventions (1-Dimension) 3. Angles.
[8-3] Trigonometry Mr. Joshua Doudt Geometry pg
David Luebke6/12/2016 CS 551 / 645: Introductory Computer Graphics David Luebke
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
TRIGONOMETRY AND THE UNIT CIRCLE SEC LEQ: How can you use a unit circle to find trigonometric values?
OBJECTIVE 8.3 TRIGONOMETRY To use the sine, cosine, and tangent ratios to determine the side lengths and angle measures in right triangles.
CA 302 Computer Graphics and Visual Programming
Subject Mathematics (F.2).
CSC461: Lecture 12 Geometry Objectives
Right Triangle Trigonometry
Lecture 03: Linear Algebra
Right Triangle Trigonometry
Trigonometric Method of Adding Vectors.
Introduction to Computer Graphics with WebGL
Aim: How do we review concepts of trigonometry?
CSE 411 Computer Graphics Lecture #2 Mathematical Foundations
CS 551 / 645: Introductory Computer Graphics
Right Triangle Trigonometry
Y. Davis Geometry Notes Chapter 8.
Trigonometry for Angle
Game Programming Algorithms and Techniques
Right Triangle Trigonometry
Presentation transcript:

Introduction; Mathematical Foundations CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003

David Luebke 2 6/22/2016 Admin ● Introductions: Dave, Nate ● Call roll ● Go over syllabus ● Fill out course action forms ■ I’ll collect, sign, and turn in after class

David Luebke 3 6/22/2016 Mathematical Foundations ● I’ll give a brief, informal review of some of the mathematical tools we’ll employ ■ Geometry (2D, 3D) ■ Trigonometry ■ Vector and affine spaces ○ Points, vectors, and coordinates ■ Dot and cross products ■ Linear transforms and matrices ● Bear with me…

David Luebke 4 6/22/2016 2D Geometry ● Know your high-school geometry: ■ Total angle around a circle is 360° or 2π radians ■ When two lines cross: ○ Opposite angles are equivalent ○ Angles along line sum to 180° ■ Similar triangles: ○ All corresponding angles are equivalent ○ Corresponding pairs of sides have the same length ratio and are separated by equivalent angles ○ Any corresponding pairs of sides have same length ratio

David Luebke 5 6/22/2016 Trigonometry ● Sine: “opposite over hypotenuse” ● Cosine: “adjacent over hypotenuse” ● Tangent: “opposite over adjacent” ● Unit circle definitions: ■ sin (  ) = y ■ cos (  ) = x ■ tan (  ) = y/x ■ Etc… (x, y)

David Luebke 6 6/22/2016 3D Geometry ● To model, animate, and render 3D scenes, we must specify: ■ Location ■ Displacement from arbitrary locations ■ Orientation ● We’ll look at two types of spaces: ■ Vector spaces ■ Affine spaces ● We will often be sloppy about the distinction

David Luebke 7 6/22/2016 Vector Spaces ● Two types of elements: ■ Scalars (real numbers):  … ■ Vectors (n-tuples): u, v, w, … ● Supports two operations: ■ Addition operation u + v, with: ○ Identity 0 v + 0 = v ○ Inverse - v + (- v ) = 0 ■ Scalar multiplication: ○ Distributive rule:  ( u + v ) =  ( u ) +  ( v ) (  +  ) u =  u +  u

David Luebke 8 6/22/2016 Vector Spaces ● A linear combination of vectors results in a new vector: v =  1 v 1 +  2 v 2 + … +  n v n ● If the only set of scalars such that  1 v 1 +  2 v 2 + … +  n v n = 0 is  1 =  2 = … =  3 = 0 then we say the vectors are linearly independent ● The dimension of a space is the greatest number of linearly independent vectors possible in a vector set ● For a vector space of dimension n, any set of n linearly independent vectors form a basis

David Luebke 9 6/22/2016 Vector Spaces: A Familiar Example ● Our common notion of vectors in a 2D plane is (you guessed it) a vector space: ■ Vectors are “arrows” rooted at the origin ■ Scalar multiplication “streches” the arrow, changing its length (magnitude) but not its direction ■ Addition uses the “trapezoid rule”: u+v y x u v

David Luebke 10 6/22/2016 Vector Spaces: Basis Vectors ● Given a basis for a vector space: ■ Each vector in the space is a unique linear combination of the basis vectors ■ The coordinates of a vector are the scalars from this linear combination ■ Best-known example: Cartesian coordinates ○ Draw example on the board ■ Note that a given vector v will have different coordinates for different bases