Projections and Perspectives Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki.

Slides:



Advertisements
Similar presentations
Transforming graphs of functions
Advertisements

Three Dimensional Viewing
Three Dimensional Modeling Transformations
Denavit-Hartenberg Convention
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
CS485/685 Computer Vision Prof. George Bebis
3-D Geometry.
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
Computer Graphics University of Palestine Dr. Sana’a Wafa Al-Sayegh
2D transformations and homogeneous coordinates Dr Nicolas Holzschuch University of Cape Town Modified.
Image formation & Geometrical Transforms Francisco Gómez J MMS U. Central y UJTL.
UNIT - 5 3D transformation and viewing. 3D Point  We will consider points as column vectors. Thus, a typical point with coordinates (x, y, z) is represented.
Viewing and Projections
Transformation & Projection Feng Yu Proseminar Computer Graphics :
Defining complex objects Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki.
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
1 Fundamentals of Robotics Linking perception to action 2. Motion of Rigid Bodies 南台科技大學電機工程系謝銘原.
3D transformations Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
Plenoptic Modeling: An Image-Based Rendering System Leonard McMillan & Gary Bishop SIGGRAPH 1995 presented by Dave Edwards 10/12/2000.
Viewing CS418 Computer Graphics John C. Hart. Graphics Pipeline Homogeneous Divide Model Coords Model Xform World Coords Viewing Xform Still Clip Coords.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
CS 450: COMPUTER GRAPHICS PROJECTIONS SPRING 2015 DR. MICHAEL J. REALE.
Basic Projections 2D to 3D
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.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
© 97 N. Holzschuch 3D objects representation and data structure Dr Nicolas Holzschuch University of Cape Town
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
©2005, Lee Iverson Lee Iverson UBC Dept. of ECE EECE 478 Viewing and Projection.
12-Perspective Depth Assoc.Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
3-D Transformational Geometry CS418 Computer Graphics John C. Hart.
Honours Graphics 2008 Session 2. Today’s focus Vectors, matrices and associated math Transformations and concatenation 3D space.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
II-1 Transformations Transformations are needed to: –Position objects defined relative to the origin –Build scenes based on hierarchies –Project objects.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Forward Kinematics Where is my hand ?. Examples Denavit-Hartenberg Specialized description of articulated figures (joints) Each joint has only one degree.
Viewing and Projection. The topics Interior parameters Projection type Field of view Clipping Frustum… Exterior parameters Camera position Camera orientation.
Clipping Polygons Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki
Computer Graphics Projections.
PROJECTIONS PROJECTIONS 1. Transform 3D objects on to a 2D plane using projections 2 types of projections Perspective Parallel In parallel projection,
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Viewing Viewing and viewing space (camera space)
Rendering Pipeline Fall, 2015.
Section 12-4 Compositions of Reflections SPI 32D: determine whether the plane figure has been translated given a diagram.
Computer Graphics CC416 Week 15 3D Graphics.
3D Viewing cgvr.korea.ac.kr.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
CSCE 441 Computer Graphics 3-D Viewing
From: The effect of perceived surface orientation on perceived surface albedo in binocularly viewed scenes Journal of Vision. 2003;3(8):2. doi: /3.8.2.
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.
Three Dimensional Viewing
Computer Graphics Imaging
Planar Geometric Projection Classes
3D Graphics.
Reflections in Coordinate Plane
THREE-DIMENSIONAL VIEWING
3D transformations Dr Nicolas Holzschuch University of Cape Town
Maps one figure onto another figure in a plane.
The Pinhole Camera Model
Projections and Perspectives
Presentation transcript:

Projections and Perspectives Dr Nicolas Holzschuch University of Cape Town Modified by Longin Jan Latecki

Projections and Perspectives We have to display our 3D model Screen is 2D Transformation from 3D model coordinates to 2D pixels coordinates. 2D Pixel Coordinates 3D Model Coordinates

Projections Representation of a 3D scene, for a virtual observer One viewpoint: –position of the observer One direction of view: –direction where the observer is looking One “up vector”: –vertical for the observer

Different projections Parallel projections: –no shortening due to distance –several kinds, depending on orientation: isometric, cavalier,… Perspective projections: –shortening of objects in the distance –several kind, depending on orientation: one, two, three vanishing points

Parallel Projection Matrix Parallel projection onto z=0 plane: x’=x, y’=y, w’=w Matrix for this projection:

Perspective Projection Matrix Projection onto plane z=0, with center of projection at z=-d :

Distance to projection plane Projection Plane Center of Projection d

Field of view Distance to projection plane not intuitive Easier notion: field of view FOV= angle, in degrees Expresses how wide is my vision

Field of view Projection Plane Center of Projection d  1

Homogeneous coordinates Essential for perspective projection Note the shortening of distances uses w Impossible to do without homogeneous

Other viewpoints If we are viewing from another point? Translations: –until viewpoint is at origin Rotations: –until direction of viewing is on z -axis Back to the previous case

Canonical Coordinates After translation, before projection: canonical 3D coordinates. 3D Model Coordinates Canonical 3D coord. 2D Pixel Coordinates Translate Rotate Projection

Projections: discussion Projections have several goals: –exactitude ( e.g. plans for architects) –realism (view of a scene, VR) –visualization –artistic view: non-linear perspectives ( e.g. Rubber Soul) An important part of realism in 3D rendering