Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 William H. Hsu Department of Computing.

Slides:



Advertisements
Similar presentations
Defining the Viewing Coordinate System
Advertisements

Projection.
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
Now Playing: Coulibaly Amadou & Mariam from Dimanche a Bamako Released August 2, 2005.
Perspective View (finite Center of Projection). Parallel View (Center of Projection at Infinity)
Viewing Doug James’ CG Slides, Rich Riesenfeld’s CG Slides, Shirley, Fundamentals of Computer Graphics, Chap 7 Wen-Chieh (Steve) Lin Institute of Multimedia.
4.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 4 Projection Clipping Viewport Transformation.
Classical Viewing CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1 Chapter 5 Viewing. 2 Perspective Projection 3 Parallel Projection.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics Fall 2006 (Slide set originally by Greg Humphreys)
12.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 12 – 3D Graphics Transformation Pipeline: Projection and Clipping.
Computing & Information Sciences Kansas State University Advanced CG 1 of 8: TexturingCIS 636/736: (Introduction to) Computer Graphics CIS 736 Computer.
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 September 23, D Viewing III 3D Viewing III.
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 September 22, D Viewing III Kansas State University CIS 636 Fundamentals.
Computing & Information Sciences Kansas State University CG Basics 4 of 8: ViewingCIS 636/736: (Introduction to) Computer Graphics CIS 636 Introduction.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 6 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 7 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 22 of 41 William H. Hsu Department of Computing.
C O M P U T E R G R A P H I C S Jian Chen January 15, D Viewing II 1/23 3D Viewing II By Andries van Dam.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 17 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 21 of 41 William H. Hsu Department of Computing.
Chi-Cheng Lin, Winona State University CS430 Computer Graphics 3D Viewing and Projections.
Computer Graphics I, Fall 2010 Classical Viewing.
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 E. Angel and D. Shreiner : Interactive Computer Graphics 6E © Addison-Wesley 2012 Classical Viewing Sai-Keung Wong ( 黃世強 ) Computer Science National.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Computer Graphics Bing-Yu Chen National Taiwan University.
3D Viewing ( From 3D to 2D) Some of the material in these slides have been adapted from the lecture notes of Prof. Tao Ju from Washington University in.
CIS 636/736Wed 30 Jan 20084/42 CIS 636/736: (Introduction to) Computer Graphics Lecture 4 of 42 Viewing 3: Graphics Pipeline Monday, 30 January 2008 Adapted.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 5 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 4 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 9 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University Lecture 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
Basic Projections 2D to 3D
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.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 8 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 2 of 41 William H. Hsu Department of Computing.
University of North Carolina at Greensboro
Graphics Graphics Korea University kucg.korea.ac.kr Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Three-Dimensional Viewing
Three-Dimensional Viewing Hearn & Baker Chapter 7
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Wednesday, February 9, 2000 William H. Hsu Department.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
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.
Viewing and Projection
Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following.
A Photograph of two papers
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
CS 376 Introduction to Computer Graphics 02 / 21 / 2007 Instructor: Michael Eckmann.
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Friday, January 21, 2000 William H. Hsu Department.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
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 CIS 736 Computer Graphics Lecture 5 of 42 Review of Basics 4 of 5: 3-D Viewing III and Intro.
Computer Graphics Lecture 09 Fasih ur Rehman. Last Class Viewing – Perspectives – Projections.
PROJECTIONS PROJECTIONS 1. Transform 3D objects on to a 2D plane using projections 2 types of projections Perspective Parallel In parallel projection,
Rendering Pipeline Fall, 2015.
3D Viewing cgvr.korea.ac.kr.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
CSCE 441 Computer Graphics 3-D Viewing
A Photograph of two papers
Andries van Dam September 18, D Viewing III
3D Graphics.
Viewing (Projections)
Viewing (Projections)
Presentation transcript:

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course pages: / Public mirror web site: Instructor home page: Readings: Today: Section 2.3 (esp ), Eberly 2 e – see Next class: Section 2.3 (esp ), 2.6, 2.7 This week: FVFH slides on Viewing Viewing 2 of 4: Viewing Transformation Lecture 3 of 41

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Lecture Outline Reading for Last Class: Sections – 2.2.4, 2.8 Eberly 2 e Reading for Today: Section 2.3 (esp ), Foley et al. Slides Reading for Next Class: Section 2.3 (esp ), 2.6, 2.7 Last Time: Basic Viewing Principles  Projections: definitions, history  Perspective: optical principles, terminology Today: View Volume Specification and Viewing Transformation  View volumes: ideal vs. approximated  Frustum in computer graphics (CG)  Specifying view volume in CG: Look and Up vectors  Aspect ratio, view angle, front/back clipping planes  Focal length  Parallel (cuboid) view volume & perspective frustum  Normalizing transformation (NT) & viewing transformation (VT) Next Time: Fixed-Function Graphics Pipeline

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Where We Are

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Acknowledgements James D. Foley Georgia Tech Andries van Dam Brown University Steven K. Feiner Columbia University John F. Hughes Brown University Andy van Dam T. J. Watson University Professor of Technology and Education & Professor of Computer Science Brown University Steve Feiner Professor of Computer Science & Director, Computer Graphics and User Interfaces Laboratory Columbia University John F. Hughes Associate Professor of Computer Science Brown University Jim Foley Professor, College of Computing & Stephen Fleming Chair in Telecommunications Georgia Institute of Technology

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Review: Planar Geometric Projection Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Review: Types of Projections Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Review: Parallel Projections Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 3-D Viewing: Synthetic Camera Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 View Volumes Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Conceptual Model of 3-D Viewing Process (for Wireframe) Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 View Volume Specification [1] Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. View Volume Specification [2]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Position Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Orientation Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Look and Up Vectors Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Aspect Ratio Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 View Angle [1] Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission.

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. View Angle [2]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Front and Back Clipping Planes [1]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Front and Back Clipping Planes [2]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Front and Back Clipping Planes [3]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Front and Back Clipping Planes [4]

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Focal Length

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. What This Model Can and Cannot Do

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. View volume Specification

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Truncated View Volume for Orthographic Parallel Projection

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Truncated View Volume (Frustum) for Perspective Projection

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Where’s My Film?

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Sources

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Adapted from slides © 1997 – 2010 van Dam et al., Brown University Reused with permission. Viewing Transformation: World (x, y, z) to Camera (u, v, w)

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Summary Last Time: Taxonomy of Projections  Parallel: orthographic (multiview, axonometric), oblique  Perspective: one-, two-, three-point Today: View Volume Specification and Viewing Transformation  View volumes: ideal vs. approximated  Frustum in computer graphics (CG)  Specifying view volume in CG: Look and Up vectors  Aspect ratio, view angle, front/back clipping planes  Focal length  Parallel (cuboid) view volume & perspective frustum  Viewing transformation (VT) preview Next Time  Normalizing transformation (NT)  Fixed-function pipeline

Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 3 of 41 Terminology Parallel Projections  Orthographic: “dead on”, i.e., (DOP || VPN)  Oblique: “at an angle”, i.e.,  (DOP || VPN) Perspective Projection  One-point: one vanishing point, one axis cut by view plane (WOLOG, z axis)  Two-point: two vanishing points, two axes cut (WOLOG, x & z axes)  Three-point: three vanishing points, three axes cut (or object rotated freely) Today: View Volumes, Viewing Transformation  Parallel projection (cuboid) view volume vs. perspective projection frustum  Look vector (DOP): Eye (COP) to At  Up vector: with Look, forms plane perpendicular (orthogonal) to view plane  Aspect ratio: width to height (of viewport)  View angle: wide angle (fisheye lens) vs. nearly-parallel (telephoto)  Front/back (near/far) clipping planes  World coordinates (canonical): (x, y, z)  User coordinates (arbitary): (u, v, w), aka (u, v, n) or (R, U, D) in Eberly