Download presentation
Presentation is loading. Please wait.
Published byMarlene Horton Modified over 8 years ago
1
Intro or, Who Am I, and What Am I Doing Here? References The ETGG1803 slides of Dr. James Hudson Chapter 2
2
This Class Who? You! The 3D Jedi (or aspiring Padawan, as the case may be...) What? Making the leap from 2D to 3D How? Math. Lots and lots of math. "Mathematics is the language with which God has written the universe."–Galileo Galilei There's going to be a lot of math in this class! Everything we see → Modeled with math!
3
2D Objects Vector drawings Bitmap drawings “Super Meat Boy”, © 2008, 2010 Team Meat
4
3D Objects Analytic Surfaces (Spheres, planes, boxes, etc) Polygonal Surfaces Other choices: Spline surfaces Metaballs (not meatballs!) Voxels ……
5
Goals of the class Trig review and more applications Linear Algebra – Vectors and Matrices (as they apply to 3d graphics) Intro to 3D graphics – Raytracer: 3D objects (analytic surfaces, mostly) => 2D image heavily vector-based slow, high-quality rendering – Rasterizer: 3D objects (polygons, mostly) => 2D image heavily matrix-based faster, lower-quality rendering of a scene. – Lighting and Shading
6
Coordinate Systems Simplest: 1D Origin Axis direction scale Specify location in a 1D C.S.: Just a number Ex: 2.4 0132-2-3
7
Another 1D C.S. Just drawn differently Where we draw the point 2.4 depends on Origin Axis (and its scale) No such thing as an absolute position – position depends on the frame of reference. 0 1 -1 3 2 -2-2 -3-3
8
2D Coordinate Systems 0132-2-3 0 1 3 2 -2 -3
9
3D Math 3 axes: commonly named x, y, and z Question: Which way does z go? x y Z?
10
Handedness LHS vs. RHS x y z x y z
11
Right-Hand Rule Thumb, Index finger, Middle finger Also works for left handed space x y z x y z
12
Scalars and Vectors A scalar is a single number. A vector is a group of scalars. For now, think of this as a point. In 1-d space, a point is just a scalar. In 2-d space, a point is a group of 2 scalars. In 3-d space, a point is a group of 3 scalars. In 4-d space, a point is a group of 4 scalars. … In 1000-d space, a point is a group of 1000 scalars. … In N-d space, a point is a group of N scalars.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.