UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS D3DX introduction and math.

Slides:



Advertisements
Similar presentations
Today Composing transformations 3D Transformations
Advertisements

Animation in Video Games presented by Jason Gregory
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.
Computer Graphics Recitation 2. 2 The plan today Learn about rotations in 2D and 3D. Representing rotations by quaternions.
3D Coordinate Systems and Transformations Revision 1
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.
3D orientation.
CSCE 689: Computer Animation Rotation Representation and Interpolation
CSCE 441: Computer Graphics Rotation Representation and Interpolation
CSCE 641: Computer Graphics Rotation Representation and Interpolation Jinxiang Chai.
Midterm Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2004.
Orientations Goal: –Convenient representation of orientation of objects & characters in a scene Applications to: – inverse kinematics –rigid body simulation.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Technical Background.
10/5/04© University of Wisconsin, CS559 Fall 2004 Last Time Compositing Painterly Rendering Intro to 3D Graphics Homework 3 due Oct 12 in class.
Introduction to 3D Graphics Lecture 3: General Camera Model Anthony Steed University College London.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
CS 450: COMPUTER GRAPHICS QUATERNIONS SPRING 2015 DR. MICHAEL J. REALE.
This Week Week Topic Week 1 Week 2 Week 3 Week 4 Week 5
1 KIPA Game Engine Seminars Jonathan Blow Ajou University December 13, 2002 Day 16.
CSCE 552 Spring 2011 Math By Jijun Tang. Layered.
CO1301: Games Concepts Dr Nick Mitchell (Room CM 226) Material originally prepared by Gareth Bellaby.
Week 5 - Wednesday.  What did we talk about last time?  Project 2  Normal transforms  Euler angles  Quaternions.
Maths and Technologies for Games Quaternions CO3303 Week 1.
Inverse Operations ExpressionInverse Operation How do you get the variable by itself? x + 5 x x x ÷ 20 x3x3.
1 CO Games Concepts Week 20 Matrices continued Gareth Bellaby.
1 CS 430/536 Computer Graphics I 3D Transformations World Window to Viewport Transformation Week 2, Lecture 4 David Breen, William Regli and Maxim Peysakhov.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS The Geometry Pipeline.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
10/3/02 (c) 2002 University of Wisconsin, CS 559 Last Time 2D Coordinate systems and transformations.
Animating Rotations and Using Quaternions. What We’ll Talk About Animating Translation Animating 2D Rotation Euler Angle representation 3D Angle problems.
Matthew Christian. About Me Introduction to Linear Algebra Vectors Matrices Quaternions Links.
Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA.
CGDD 4003 THE MATH LECTURE (BOILED DOWN, YET LIGHTLY SALTED)

Direct3D Workshop November 17, 2005 Workshop by Geoff Cagle Presented by Players 2 Professionals.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Math Review.
2/19/04© University of Wisconsin, CS559 Spring 2004 Last Time Painterly rendering 2D Transformations –Transformations as coordinate system changes –Transformations.
3D Game Engine Design 1 3D Game Engine Design Ch D MAP LAB.
Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
I’m Thinking of a Number
This Week WeekTopic Week 1 Coordinate Systems, Basic Functions Week 2 Trigonometry and Vectors (Part 1) Week 3 Vectors (Part 2) Week 4 Vectors (Part 3:
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS The GPU.
Week 5 - Monday.  What did we talk about last time?  Lines and planes  Trigonometry  Transforms  Affine transforms  Rotation  Scaling  Shearing.
Quaternionic Splines of Paths Robert Shuttleworth Youngstown State University Professor George Francis, Director illiMath2001 NSF VIGRE REU UIUC-NCSA.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Advanced Math.
CGDD 4003 Character Animation. The Skeletal Hierarchy (aka the “rig”) Based on the concept of bones Each bone has exactly one parent Each bone has a transform.
Brian Osman Vicarious Visions January 27, Who Am I? Senior Software Engineer at Vicarious Visions Graphics specialist Lighting, shadows, animation,
Game Engine Architecture
Computer Animation Algorithms and Techniques
CPSC 641: Computer Graphics Rotation Representation and Interpolation
Basic Math in 2D Game Development
UW Extension Certificate Program in Game Development 2nd quarter: Advanced Graphics Animation.
Complex Numbers Imaginary Numbers Vectors Complex Numbers
3D Transformations Source & Courtesy: University of Wisconsin,
Knowing your math operation terms
Vectors.
Orientation3D in Three.JS
(c) University of Wisconsin, CS559
UMBC Graphics for Games
CS-378: Game Technology Lecture #2: Transformations Prof. Okan Arikan
Divide the number in C by 10.
CSCE441: Computer Graphics 2D/3D Transformations
UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN
Game Programming Algorithms and Techniques
Math with Vectors I. Math Operations with Vectors.
Emerging Technologies for Games Review & Revision Strategy
Presentation transcript:

UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS D3DX introduction and math

Goals 1. Introduction to the D3DX library 2. Review the math functions offered by D3DX

D3DX utilities library  Useful stuff that doesn’t relate directly to the GPU  3D math functions  Higher-level geometry representations  Shader compiler/assembler  Text rendering  Animation  Various helper functions  Generally not used in high-performance games  Some functions still very useful

D3DX portability issue  Not generally portable  Other target platforms might not have these utilities!  For multi-platform games you’ll need an alternative  Use a portable all-in-one engine For instance Unreal Engine or CryENGINE  Develop your own common wrapper  Develop your own utilities

D3DX vector math  D3DXCOLOR – float RGBA (D3DXColorXXX)  Add, subtract, multiply (modulate, scale), lerp…  D3DXVECTOR# – 2D to 4D vectors (D3DXVecXXX)  Add, subtract, multiply (dot, cross, scale), min, max  Interpolate (lerp, hermite, catmull-rom)  Length, normalize, project, transform  D3DXMATRIX – 4x4 matrices (D3DXMatrixXXX)  Add, subtract, multiply, scale, inverse, transpose  Creation functions: transformation, projection, euler…

D3DX more math  D3DXQUATERNION – Quaternions (rotations)  Multiply, inverse, conjugate, dot, exponential, logarithm  Length, normalize, rotation, slerp  D3DXPLANE – infinite 3D dividers  Dot, scale, normalize, transform, intersect  Spherical harmonics – Direction-dependent functions  Add, multiply, dot, scale, eval, rotate, project  Other functions  16-bit float, fresnel formula