THREE-DIMENSIONAL VIEWING

Slides:



Advertisements
Similar presentations
Three Dimensional Viewing
Advertisements

Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
Viewing Transformations
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.
Projection Projection - the transformation of points from a coordinate system in n dimensions to a coordinate system in m dimensions where m
UBI 516 Advanced Computer Graphics Three Dimensional Viewing
Advanced Computer Graphics Three Dimensional Viewing
Two Dimensional Viewing
3D Viewing.
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.
University of Palestine Computer Graphics ITGD3107 Prepare: Mohammed J. el-masre Nidal M. El-Borbar Supervision:
CAP4730: Computational Structures in Computer Graphics 3D Transformations.
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
Three-Dimensional Viewing Jehee Lee Seoul National University.
Basic Projections 2D to 3D
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.
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
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
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
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)
Perspective View Volume View Volume Far Near Window Far Near Window Center of Projection Center of Projection (a) Original Orientation (b) After Transformation.
Three-Dimensional Viewing Clipping Computer Graphics C Version (456p - 462p)
Chapter: Viewing.
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
Viewing in 3D Lecture 11. Viewing in 3D2 u The 3D viewing process is inherently more complex than is the 2D viewing process. F In 2D, we simply specify.
3D Viewing and Clipping Ming Ouhyoung 歐陽明 Professor Dept. of CSIE and GINM NTU.
CS552: Computer Graphics Lecture 9: Perspective Projection.
3 DIMENSIONAL VIEWING Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Three Dimensional Viewing
Viewing Viewing and viewing space (camera space)
Rendering Pipeline Fall, 2015.
Computer Graphics CC416 Week 14 3D Graphics.
University of North Carolina at Greensboro
Computer Graphics CC416 Week 15 3D Graphics.
Viewing System 한신대학교 류승택.
Projection Our 3-D scenes are all specified in 3-D world coordinates
3D Viewing cgvr.korea.ac.kr.
Prof. Lizhuang Ma Shanghai Jiao Tong University
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
Two-Dimensional Viewing
CSCE 441 Computer Graphics 3-D Viewing
2D Viewing Pipeline.
Viewing in 3D Chapter 6.
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.
Unit 4 3D Viewing Pipeline Part - 2
3D Transformation Pipeline
CENG 477 Introduction to Computer Graphics
3D Rendering Pipeline Hidden Surface Removal 3D Primitives
Three Dimensional Viewing
OpenGL 2D Viewing Pipeline
Planar Geometric Projection Classes
Three-Dimensional Viewing
Last Time Canonical view pipeline Projection Local Coordinate Space
3D Graphics.
Chap 3 Viewing Pipeline Reading:
Prof. Lizhuang Ma Shanghai Jiao Tong University
3D Viewing.
THREE-DIMENSIONAL VIEWING II
THREE-DIMENSIONAL VIEWING I
The Pinhole Camera Model
Presentation transcript:

THREE-DIMENSIONAL VIEWING 12 고려대학교 컴퓨터 학과 김 창 헌

Contents Viewing Pipeline Viewing Coordinates Projections View Volumes and Projection Transformations Clipping Hardware Implementations 3D Viewing Functions Summary

Viewing Pipeline General 3D Transformation Pipeline Clipping against Modeling Coordinates Modeling Transformation World Coordinates Viewing Transformation Viewing Coordinates Clipping against Viewing volume Projection Transformation Projection Coordinates Workstation Transformation Device Coordinates Project onto Projection plane

Viewing Coordinates Specifying the View Plane Viewing-coordinate system View-plane normal vector (N) (1, 0, 0) (1, 0, 1)

Viewing Coordinates (con’t) Specifying the View Plane (con’t) View-up vector (V) uvn system

Viewing Coordinates (con’t) Specifying the View Plane (con’t) View-plane distance Series of views of a scene

Viewing Coordinates (con’t) Transformation from WC to VC Transformation sequences 1. Translate the view reference point to the origin of the WC system 2. Apply rotations to align the xv, yv, and zv axes with the world axes Translation view reference point(x0, y0, z0)

Viewing Coordinates (con’t) Transformation from WC to VC (con’t) General sequence of translate-rotate transformation Rotation rotate around the world xw axis to bring zv into the xwzw plane rotate around the world yw axis to align the zw and zv axis final rotation is about the zw axis to align the yw and yv axis

Viewing Coordinates (con’t) Transformation from WC to VC (con’t) Direct generating the rotation-transformation matrix

Projections Parallel Projection Perspective Projection

Projections Parallel Projections Orthographic parallel projection the projection is perpendicular to the view plane Oblique parallel projection

Projections (con’t) Parallel Projections (con’t) Orthographic projection Isometric projection

12.3 Projections (con’t) Parallel Projections (con’t) Orthographic projection coordinates

12.3 Projections (con’t) Parallel Projections (con’t) Oblique projection

12.3 Projections (con’t) Parallel Projections (con’t) Oblique projection

12.3 Projections (con’t) Parallel Projections (con’t) Oblique projection cavalier projection ( )

12.3 Projections (con’t) Perspective Projections P=(x, y, z) (xp,yp,zp) zvp zprp view plane

12.3 Projections (con’t) Perspective Projections (con’t)

12.3 Projections (con’t) Perspective Projections (con’t) zvp = 0 zprp = 0

12.3 Projections (con’t) Perspective Projections (con’t) Principal vanishing point

View Volumes and Projection Transformation View Window

View Volumes … (con’t) Parallel projection

View Volumes … (con’t) Perspective projection

View Volumes … (con’t) View volume boundary

View Volumes … (con’t) Changing the shape of the oblique-projection view volume

View Volumes … (con’t) Moving the projection reference point

View Volumes … (con’t) Projected object size

View Volumes … (con’t) Animation

12.4 View Volumes … (con’t) General Parallel-Projection Transformations Oblique projection view volume Regular parallelepiped view volume

12.4 View Volumes … (con’t) General Parallel-Projection Transformations (con’t) Projection vector Transformation

12.4 View Volumes … (con’t) General Parallel-Projection Transformations (con’t) General parallel-projection matrix

12.4 View Volumes … (con’t) General Parallel-Projection Transformations (con’t) Element Relationship

12.4 View Volumes … (con’t) General Perspective-Projection Transformation Perspective view volume

View Volumes … (con’t) General Perspective-Projection Transformation

View Volumes … (con’t) General Perspective-Projection Transformation (con’t)

Clipping Clipping Identify and save all surface segments within the view volum View-volume clipping boundary : planes

Clipping (con’t) Normalized View Volumes  Why? View Volume

Clipping (con’t) Normalized View Volumes (con’t) Pipeline

Clipping (con’t) Normalized View Volumes (con’t) Advantages provides a standard shape for representing any sized view volume clipping procedures are simplified and standardized with unit cube depth cueing and visible-surface determination are simplified Mapping position within a rectangular view volume to a 3D rectangular viewport

Clipping (con’t) Normalized View Volumes (con’t) Ratios of the dimensions of the viewport and view volume Translation factors

Clipping (con’t) Viewport Clipping 1. Parametric line equation 2. Calculation of parameter value 3. Intersection point

Clipping (con’t) Viewport Clipping (con’t)

Clipping (con’t) Clipping in Homogeneous Coordinates

Hardware Implementations

3D Viewing Functions Multiple Views Using Difference Camera Orientations

3D Viewing Functions (con’t) A Wide-Angle Perspective Display Same viewing position, but with slight shifts in the viewing direction

Summary Modeling Coordinates Modeling Transformation World Coordinates Viewing Transformation Viewing Coordinates Projection Transformation Projection Coordinates Workstation Transformation Device Coordinates