3D Polygon Rendering Pipeline 원본 – (http://www.cs.princeton.edu/courses/archive/fall00/cs426/lectures/pipeline/index.htm) Thomas Funkhouser (Princeton.

Slides:



Advertisements
Similar presentations
Computer Graphics - Viewing -
Advertisements

Three Dimensional Viewing
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
Viewing and Projections
CS 352: Computer Graphics Chapter 5: Viewing. Interactive Computer GraphicsChapter Overview Specifying the viewpoint Specifying the projection Types.
Essentials of Interactive Computer Graphics: Concepts and Implementation K. Sung, P. Shirley, S. Baer Chapter 14 Chapter 14: The Camera.
1 Lecture 8 Clipping Viewing transformations Projections.
Viewing Transformations
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
4.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 4 Projection Clipping Viewport Transformation.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
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 :
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Computer Graphics Bing-Yu Chen National Taiwan University.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
University of Palestine Computer Graphics ITGD3107 Prepare: Mohammed J. el-masre Nidal M. El-Borbar Supervision:
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
CSE Real Time Rendering Week 2. Graphics Processing 2.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 5.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
Graphics Graphics Korea University cgvr.korea.ac.kr 1 2D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
CS 445 / 645 Introduction to Computer Graphics Lecture 10 Camera Models Lecture 10 Camera Models.
Graphics Graphics Korea University kucg.korea.ac.kr Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Jinxiang Chai CSCE 441 Computer Graphics 3-D Viewing 0.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
Graphics CSCI 343, Fall 2015 Lecture 16 Viewing I
1 Angel: Interactive Computer Graphics5E © Addison- Wesley 2009 Image Formation Fundamental imaging notions Fundamental imaging notions Physical basis.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Taxonomy of Projections FVFHP Figure Taxonomy of Projections.
Projections Angel: Interactive Computer Graphics.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 15 Creating 3D Models.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Viewing and Projection. The topics Interior parameters Projection type Field of view Clipping Frustum… Exterior parameters Camera position Camera orientation.
Chapter 1 Graphics Systems and Models Models and Architectures.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
CS 490: Computer Graphics Chapter 5: Viewing. Interactive Computer GraphicsChapter Overview Specifying the viewpoint Specifying the projection Types.
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,
CS552: Computer Graphics Lecture 9: Perspective Projection.
Viewing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Rendering Pipeline Fall, 2015.
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
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Three Dimensional Viewing
Reflections & Rotations
Computer Graphics (Spring 2003)
3D Graphics.
Models and Architectures
Models and Architectures
THREE-DIMENSIONAL VIEWING
CS 352: Computer Graphics Chapter 5: Viewing.
Presentation transcript:

3D Polygon Rendering Pipeline 원본 – ( Thomas Funkhouser (Princeton University) C0S 426 고려대학교 그래픽스 연구실 민성환

Basis 3D Plolygon rendering –3 차원으로 모델링 된 물체의 형상에 대해 색 감, 질감, 그림자, 빛의 반사 및 굴절 효과등 을 부여하는 과정 Pipeline – 하나의 process( 작업 ) 을 서로 다른 기능을 가진 여러 개의 subprocess 로 나누어 각 프 로세서가 동시에 서로 다른 데이터 처리

3D polygon rendering Many applicatons use rendering of 3d polygons with direct illumination

3d polygon rendering (cont) What steps are necessary to utilize spatial coherence while drawing these polygons into a 2D image?

3d Rendering Pipeline This is a pipelined sequence of operations to draw a 3D primitive into a 2D image For direct illumination

Example OpenGL executes steps of 3D rendering pipeline for each polygon. glBegin(GL_POLYGON) glVertex3f(0.0,0.0,0.0); … glEnd();

In Pipeline Transform into3d world coordinate system

In Pipeline Illuminate according to lighting and reflectance

In Pipeline Transform into 3D camera coordinate system

In Pipeline Transform into 2D camera coordinate system

In Pipeline Clip primitives outside camera ’ s view

In Pipeline Draw pixels

In Pipeline Transform

Transformations

Transformations review Transformations map points from one coordinate system to another

Viewing Transformations Viewing transformations

Viewing Transformation 1.Translate the view reference point to the origin of the world-coordinate system 2.Apply rotations to align the axes with the world axes,respectively

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

Taxonomy of Projections

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

Orthographic Projections DOP perpendicular to view plane

Oblique Projections DOP not perpendicular to view plane

Parallel Projection Matrix General parallel projection transformation z Where L1 is the inverse of tanα,which is also the value of L when z=1

Parallel Projection Matrix General parallel projection transformation z

Taxonomy of Projections

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

Perspective Projetion How many vanishing point?

Perspective Projection View Volume

Perspective Projection Compute 2D coordinates from 3D coordinates with similar triangles

Perspective Projection (Cont)

Perspective Projection Matrix 4x4 matrix representation?

Perspective Projection Matrix 4x4 matrix representation?

Perspective Vs. Parallel Perspective projection – Size varies inversely with distance – looks realistic –Distance and angles are not(in general) preserved –Parallel line do not (in general) remain parallel Parallel projection –Good for exact measurements –Parallel lines remain parallel –Angles are not (in general) preserved –Less realistic looking