3D VIEWING ILLUSTRATED. WHAT YOU SEE DEPENDS ON YOUR POSITION In the real world, what you see depends on where you stand, the direction you look, how.

Slides:



Advertisements
Similar presentations
Defining the Viewing Coordinate System
Advertisements

Three Dimensional Viewing
Coordinate Systems Dr. Midori Kitagawa.
Honors Geometry Transformations Section 2 Rotations.
Three Dimensional Modeling Transformations
Airplane Flight: X-Plane in the Classroom Control Pitch - nose moves up and down.
Ordered Pairs An ordered pair comes in the form (x,y) with x always first and y always second The x value refers to the numbers on the x axis The y value.
The Cartesian Coordinate System
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Computer Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
3-D Geometry.
CS 376 Introduction to Computer Graphics 02 / 26 / 2007 Instructor: Michael Eckmann.
CS 4731: Computer Graphics Lecture 11: 3D Viewing Emmanuel Agu.
The Coordinate Plane coordinate plane In coordinate Geometry, grid paper is used to locate points. The plane of the grid is called the coordinate plane.
The Four Forces of Flight
CS 450: COMPUTER GRAPHICS 3D TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Introduction to 3D viewing 3D is just like taking a photograph!
Introduction to 3D Computer Graphics and Virtual Reality McConnell text.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
Camera. Content Coordinate systems and transformations Viewing coordinates Coordinate transformation matrix Projections Window and viewport Acknowledgments:
Flight Concept Web Project By: Josh Science #
Vectors and the Geometry of Space 9. Three-Dimensional Coordinate Systems 9.1.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Stages of Vertex Transformation To specify viewing, modeling, and projection transformations, you construct a 4 × 4 matrix M, which is then multiplied.
Computer Graphics I, Fall 2010 Computer Viewing.
Chapter Nine Vectors and the Geometry of Space. Section 9.1 Three-Dimensional Coordinate Systems Goals Goals Become familiar with three-dimensional rectangular.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
The Camera Course Information CVG: Programming 4 My Name: Mark Walsh Website: Recommended Reading.
Ujaval Patel Flight Instruments 6 Basic Instruments Airspeed Indicator Artificial Horizon Altimeter Bank and Yaw Indicator Heading Indicator Vertical.
GRAPHING ON A COORDINATE PLANE. VOCABULARY Coordinate system- a system which uses one or more numbers or coordinates, to uniquely determine the position.
Chapter 1 Vectors. Vector Definition A quantity that has two properties: magnitude and direction It is represented by an arrow; visually the length represents.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
Taxonomy of Projections FVFHP Figure Taxonomy of Projections.
+ Subtracting Integers on a Number Line. + How to subtract integers on a number line This will be similar to adding integers on a number line, but instead.
The Coordinate Plane 101 ALGEBRA 11/16/15. The coordinate plane is a set of axis on which ordered pairs of input and output values can be plotted.
Camera. “Up”, “Forward” and “Along” The three camera view vectors are defined as shown:
Unit 2 Review 2. Using your felt tip pen in the lower left hand corner of your screen Answer the following questions in yellow Answer the following questions.
Orthonormal Basis Cartesian Coordinate System – Unit vectors: i, j, k – Normalized to each other – Unique representation for each position!! – Convenient!
CS 551 / 645: Introductory Computer Graphics Viewing Transforms.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Computer Viewing Isaac Gang University of Mary Hardin-Baylor.
End effector End effector - the last coordinate system of figure Located in joint N. But usually, we want to specify it in base coordinates. 1.
TA: Ryan Freedman Sushma Kini Chi Zhou.  Due Date: March , 12:30 PM  We want a zip folder named cs418_mp1_{netid}.zip which contains  Source.
X axis y axis Points on a coordinate plane are written like this: (-8, 9) Move the dot.
By Bala M. Dhareneni.  A pitch motion is an up or down movement of the nose of the aircraft  The pitch axis is perpendicular to the aircraft centerline.
ZTF: PI Hexapod H-850K043 – Instrument Coordinate Systems
Quality of Images.
Geometry of Aerial Photography
Viewing Viewing and viewing space (camera space)
Vectors and the Geometry
PERSPECTIVE PROJECTION…...
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
Copyright © Cengage Learning. All rights reserved.
CSC461: Lecture 19 Computer Viewing
Chapter 6 Day 1 What is a Transformation?.
Three Dimensional Viewing
Vectors and the Geometry
Three-Dimensional Viewing
Graphing on the Coordinate Plane
3D Graphics.
Orthogonal Base Cartesian Coordinate System Works in general:
Plotting Points Guided Notes
Viewing (Projections)
Computer Graphics Computer Viewing
Graphing on the Coordinate Plane
Throttle, Yaw, Pitch, Roll
Graphing on a Coordinate plane
Day 47 – Fixed points and invertibility in rigid motion
Degrees of Freedom.
Presentation transcript:

3D VIEWING ILLUSTRATED

WHAT YOU SEE DEPENDS ON YOUR POSITION In the real world, what you see depends on where you stand, the direction you look, how you tilt your head, and so on.

3D VERSUS 2D In 3D, the y-axis typically points up instead of down. Negative coordinates, which are rarely used in 2D, are quite common in 3D. Because of this, the origin is at the center of space as opposed to the top-left corner as in 2D

MAJOR DIFFERENCES BETWEEN 2D AND 3D

RIGHT HANDED COORDINATE SYSTEM

CAMERA POSITION Camera positioned at (5, 5, 5): Looking at the southeast side

SOUTHWEST SIDE Move the camera to position (-5,5,5): Looking at the southwest side

LOOKDIRECTION The lookdirection is a vector that tells the camera where to look. For the camera below the lookdirection is (-1,-1,-1):

MOVING THE CAMERA Moving the camera does not change the lookdirection:

THE LOOKDIRECTION IS BASED ON A LOOKAT POINT Changing the lookdirection:

LOOKAT AND LOKDIRECTION The easiest way to determine the lookdirection is specify a lookat point in the scene and subtract the camera position from it: lookat – camera position For the above camera position, if the lookat is (0,0,0), then look direction is: Lookdirection = (0,0,0) – (-5,5,5) = (5, -5, -5)

SOUTHWEST VIEW Given an orthographic camera and the above lookdirection we get the following scene:

THE UP DIRECTION The lookdirection is not enough to get the correct view:

UP DIRECTION NOT CHANGED

UP DIRECTION WRONG

CORRECT

TRANSFORM UP DIRECTION

UP DIRECTION ANALOGY if you're designing a flight simulator, up is the direction perpendicular to the plane's wings, from the plane toward the sky when the plane is on the ground.

DEFAULT CAMERA POSITION

ROTATING THE CAMERA We will call rotation around the look vector (or z axis) Roll. Rotation around the up vector (or y axis) is called Yaw. Rotation around the Right vector (x axis) is called Pitch. Below is a picture of an aircraft showing roll, pitch and yaw in terms of the aircraft's local axis. Note: we can use a similar system for our object rotations

ROLL, PITCH AND YAW