3D Graphics.

Slides:



Advertisements
Similar presentations
Three Dimensional Viewing
Advertisements

Projection.
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
CS485/685 Computer Vision Prof. George Bebis
3-D Geometry.
Viewing Transformations
Classical Viewing CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
3D Concepts UNIT 3. 3-D Coordinate Spaces Remember what we mean by a 3-D coordinate space x axis y axis z axis P y z x Right-Hand Reference System.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006 (Slide set originally by Greg Humphreys)
Projection Projection - the transformation of points from a coordinate system in n dimensions to a coordinate system in m dimensions where m
Advanced Computer Graphics Three Dimensional Viewing
Transformation & Projection Feng Yu Proseminar Computer Graphics :
Computer Graphics I, Fall 2010 Classical Viewing.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 Classical Viewing. 2 Objectives Introduce the classical views Compare and contrast image formation by computer with how images have been formed by architects,
Camera. Content Coordinate systems and transformations Viewing coordinates Coordinate transformation matrix Projections Window and viewport Acknowledgments:
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Computer Graphics Bing-Yu Chen National Taiwan University.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
Basic Projections 2D to 3D
3D Polygon Rendering Pipeline 원본 – ( Thomas Funkhouser (Princeton.
University of North Carolina at Greensboro
2003CS Hons RW778 Graphics1 Chapter 7: Three-Dimensional Viewing Chapter 5: Camera with parallel projection Chapter 5: Camera with parallel projection.
Computer Graphics Lecture 08 Fasih ur Rehman. Last Class Ray Tracing.
Jinxiang Chai CSCE 441 Computer Graphics 3-D Viewing 0.
Three-Dimensional Viewing
Three-Dimensional Viewing Hearn & Baker Chapter 7
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Projection.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Taxonomy of Projections FVFHP Figure Taxonomy of Projections.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
2D Transformation Homogenous Coordinates Scale/Rotate/Reflect/Shear: X’ = XT Translate: X’ = X + T Multiple values for the same point e.g., (2, 3, 6)
RAC/RA Projection Types of Projection Simple Projections Generalized Projection.
Perspective View Volume View Volume Far Near Window Far Near Window Center of Projection Center of Projection (a) Original Orientation (b) After Transformation.
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi
Outline 3D Viewing Required readings: HB 10-1 to 10-10
Projection. Conceptual model of 3D viewing process.
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,
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Three Dimensional Viewing
Viewing Viewing and viewing space (camera space)
Rendering Pipeline Fall, 2015.
University of North Carolina at Greensboro
PERSPECTIVE PROJECTION…...
Projection Our 3-D scenes are all specified in 3-D world coordinates
3D Viewing cgvr.korea.ac.kr.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
CSCE 441 Computer Graphics 3-D Viewing
CSC461: Lecture 18 Classical Viewing
Unit 4 3D Viewing Pipeline Part - 2
3D Transformation Pipeline
Classical Viewing Ed Angel
Isaac Gang University of Mary Hardin-Baylor
Introduction to Computer Graphics with WebGL
Three Dimensional Viewing
OpenGL 2D Viewing Pipeline
Planar Geometric Projection Classes
Three-Dimensional Viewing
Chap 3 Viewing Pipeline Reading:
Viewing (Projections)
THREE-DIMENSIONAL VIEWING II
THREE-DIMENSIONAL VIEWING
University of New Mexico
Isaac Gang University of Mary Hardin-Baylor
Guilford County SciVis V part 1
Presentation transcript:

3D Graphics

Translation

Translation

Rotation

Rotation

Rotation

Scaling The matrix expression for the scaling transformation of a position P = (xi, yi, zi) relative to coordinate origin can be written as:

3D Viewing Viewing in 3D involves the following considerations: - We can view an object from any spatial position, eg. In front of an object, Behind the object, In the middle of a group of objects, Inside an object, etc. 3D descriptions of objects must be projected onto the flat viewing surface of the output device.

Viewing Coordinates Generating a view of an object in 3D is similar to photographing the object. Whatever appears in the viewfinder is projected onto the flat film surface. Depending on the position, orientation and aperture size of the camera corresponding views of the scene is obtained.

Specifying The View Coordinates xw zw yw xv zv yv P0=(x0 , y0 , z0) For a particular view of a scene first we establish viewing-coordinate system. A view-plane (or projection plane) is set up perpendicular to the viewing z-axis. World coordinates are transformed to viewing coordinates, then viewing coordinates are projected onto the view plane.

Specifying The View Coordinates To establish the viewing reference frame, we first pick a world coordinate position called the view reference point. This point is the origin of our viewing coordinate system. If we choose a point on an object we can think of this point as the position where we aim a camera to take a picture of the object.

Projection General definition In computer graphics Transform points in n-space to m-space(m<n) In computer graphics Map viewing coordinates to 2D screen coordinates

Taxonomy of Projections Planar geometric projection Parallel Perspective Orthographic Oblique Top Front Side Axonometric Cabinet Cavalier Other One-point Two-point Three-point

Parallel & Perspective Parallel Projection Perspective Projection

Parallel Projection Center of projection is at infinity Direction of projection (DOP) same for all points DOP View Plane

Orthographic & Oblique Orthographic parallel projection the projection is perpendicular to the view plane Oblique parallel projection The projectors are inclined with respect to the view plane

Orthographic Projections DOP perpendicular to view plane Front Top Side

Oblique Projections DOP not perpendicular to view plane Cavalier (DOP at 45 ) Cabinet (DOP at 63.4 )

Oblique Projections DOP not perpendicular to view plane Cavalier projection Cabinet projection

Perspective Projection Map points onto “view plane” along “projectors” emanating from “center of projection”(cop) Projectors Center of Projection View Plane

Perspective Projection How many vanishing point?

Perspective Projection How many vanishing point? Three-point perspective

Perspective Projection How many vanishing point? Three-point perspective Two-point perspective

Perspective Projection How many vanishing point? Three-point perspective Two-point perspective One-point perspective