A Photograph of two papers

Slides:



Advertisements
Similar presentations
Computer Graphics - Viewing -
Advertisements

Computer Graphics Inf4/MSc 1 Computer Graphics Lecture 4 View Projection Taku Komura.
Defining the Viewing Coordinate System
Computer Graphics Lecture 8 Arbitrary Viewing II: More Projection, Clipping and Mathematics of 3D Viewing.
Three Dimensional Viewing
1 Computer Graphics Chapter 8 3D Transformations.
Shared Graphics Skills Cameras and Clipping Planes
Viewing and Projections
Essentials of Interactive Computer Graphics: Concepts and Implementation K. Sung, P. Shirley, S. Baer Chapter 14 Chapter 14: The Camera.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Tamara Munzner Viewing/Projections I.
CS 4731: Computer Graphics Lecture 11: 3D Viewing Emmanuel Agu.
2/26/04© University of Wisconsin, CS559 Spring 2004 Last Time General Orthographic Viewing –Specifying cameras in world coordinates –Building world  view.
Introduction to 3D viewing 3D is just like taking a photograph!
Lecture 5: 3D Rendering Pipeline (II) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
Viewing and Projections
Computer Graphics (fall 2009)
02/26/02 (c) 2002 University of Wisconsin, CS 559 Last Time Canonical view pipeline Orthographic projection –There was an error in the matrix for taking.
Advanced Computer Graphics Three Dimensional Viewing
The Viewing Pipeline (Chapter 4) 5/26/ Overview OpenGL viewing pipeline: OpenGL viewing pipeline: – Modelview matrix – Projection matrix Parallel.
Week 2 - Wednesday CS361.
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
2/24/04© University of Wisconsin, CS559 Spring 2004 Last Time 3D Transformations –Most are natural extensions of 2D transforms –Rotations can be represented.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
CS-378: Game Technology Lecture #2.1: Projection Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney, Zoran Popovic, Jessica.
Computer Graphics Bing-Yu Chen National Taiwan University.
V part 1 Obtained from a Guildford County workshop-Summer, 2014.
CS 450: COMPUTER GRAPHICS PROJECTIONS SPRING 2015 DR. MICHAEL J. REALE.
I N T R O D U C T I O N T O C O M P U T E R G R A P H I C S Andries van Dam 3D Viewing I CIS 736 Computer Graphics Review of Basics 2 of 5: 3D Viewing.
Computer Graphics Zhen Jiang West Chester University.
10/7/04© University of Wisconsin, CS559 Fall 2004 Last Time Transformations Homogeneous coordinates Directions Rotation Geometry 101 – Points, edges, triangles/polygons.
OpenGL The Viewing Pipeline: Definition: a series of operations that are applied to the OpenGL matrices, in order to create a 2D representation from 3D.
Graphics Graphics Korea University kucg.korea.ac.kr Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Jinxiang Chai CSCE 441 Computer Graphics 3-D Viewing 0.
The Camera Analogy ► Set up your tripod and point the camera at the scene (viewing transformation) ► Arrange the scene to be photographed into the desired.
Three-Dimensional Viewing Hearn & Baker Chapter 7
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
©2005, Lee Iverson Lee Iverson UBC Dept. of ECE EECE 478 Viewing and Projection.
Viewpoints and Transformations CSIS 5838: Graphics and Animation for Gaming.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Taxonomy of Projections FVFHP Figure Taxonomy of Projections.

Coordinate Systems Lecture 1 Fri, Sep 2, The Coordinate Systems The points we create are transformed through a series of coordinate systems before.
CS-321 Dr. Mark L. Hornick 1 Three-Dimensional Graphics Problem How can you effectively display 3-D information on a 2-D display?
Calculate distances and focal lengths using the mirror equation for concave and convex spherical mirrors. Draw ray diagrams to find the image distance.
Viewing and Projection. The topics Interior parameters Projection type Field of view Clipping Frustum… Exterior parameters Camera position Camera orientation.
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.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
OpenGL LAB III.
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Outline 3D Viewing Required readings: HB 10-1 to 10-10
A Photograph of two papers The Model: 2 papers – 8cm x 8cm and 5cm x 5cm The Camera – Simple pinhole – No focusing capability The Scene – Arrangements.
Three Dimensional Viewing
Rendering Pipeline Fall, 2015.
Projection Our 3-D scenes are all specified in 3-D world coordinates
CSCE 441 Computer Graphics 3-D Viewing
Unit 4 3D Viewing Pipeline Part - 2
A Photograph of two papers
Three Dimensional Viewing
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016
CSC4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University View & Projection.
Computer Graphics Imaging
Last Time Canonical view pipeline Projection Local Coordinate Space
Chapter 13: A Simple 3D Application Chapter 13.
Orthogonal Base Cartesian Coordinate System Works in general:
Viewing (Projections)
Viewing (Projections)
Presentation transcript:

A Photograph of two papers The Model: 2 papers 8cm x 8cm and 5cm x 5cm The Camera Simple pinhole No focusing capability The Scene Arrangements model and camera Light sources (later)

The Arrangements

3D Coordinate Systems Two options for Z-axis direction! Same position, different sign for z-value!!

Left vs. Right Handed Systems Right-Handed System EXCLUSIVELY!!

The Model and the Scene Right-Handed Coordinate System Convenience Origin Center of 8x8 Units in cm

Details …

A Computer Graphics Camera Camera position Look at position Up direction Related terms: Image Plane Viewing Direction View Vector Maya scene

The Up Direction (Up Vector): Also referred to as: Twist Angle Cannot be parallel to viewing direction Does not need to be normalized Does not need to be perpendicular to viewing direction

Controlling the Up Vector z=slider: Twist angle: not perpendicular to View Vector!

The Visible Volume Only geometries (primitives) inside the volume are visible All geometries (primitives) outside are ignored Primitives straddle the volume are Clipped!

The Viewing Frustum Volume Volume defined by: Near Plane (n) Far Plane (f) Fields of view (fov) For Perspective Projection

Perspective Projection

The Rectangular Visible Volume Volume defined by: Near Plane (n) Far Plane (f) Width (W) Height (H) For Orthographic Projection

Orthographic Projection Maya Scene

Orthographic vs Perspective Projection Orthographic Projection Parallel projection Preserve size Good for determining relative size Perspective Projection Projection along rays Closer objects appears larger Human vision! Only work with: Perspective Projection

Near Plane and Aspect Ratio Height (nh) Width (nw)

Aspect Ratio What is the aspect ratio of the following: My image: PAL: 720x576 is 5:4 or 5/4 = 1.24 NTSC is complicated  (4 : 3)? 720P HD: 1280x720 is 16:9 or 16/9 = 1.777 1080P HD: 1920x1080 is 16:9 My image: 640x480 4:3 20x20 1:1

What is my Image Plane Size? Eye at: (0, 0, 20) At: (0, 0, 0) Up: (0, 1, 0) Near plane distance: 10 FOV: 90-degree Aspect ratio: 4:3 If FOV defines horizontal field? If FOV defines vertical field?

How about now? Eye at: (x1, y1, z1) At: (x2, y2, z2) Near plane distance: d FOV: θ Aspect ratio: α If FOV defines horizontal field? If FOV defines vertical field?

Review questions The two types of projections discussed: What are the two elements that define a projection What defines a computer graphics camera? What is the difference between the cameras for a perspective and orthographic projection? What is the difference between the viewing volumes of a perspective and orthographic projection?

Parallel (Orthographic) Projection What is the main advantage of orthographic projection? What is the shape of the visible volume? What is the camera position in relation to the image plane?

Perspective Projection Why are the near/far plane distances important? Increase FOV will make objects larger or smaller? Image plane What is the relationship between viewing direction and image plane? Up vector we specify must always be perpendicular to the viewing direction? What is the shape of the visible volume? Far away objects appear smaller/larger?