CSL 859: Advanced Computer Graphics

Slides:



Advertisements
Similar presentations
CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Advertisements

Graphics Pipeline.
Computer Graphic Creator: Mohsen Asghari Session 2 Fall 2014.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Basics. OpenGL. “Hello world” George Georgiev Telerik Corporation
Projection Matrices Ed Angel
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
IN4151 Introduction 3D graphics 1 Introduction 3D Computer Graphics part 1 Projective display Viewing pipeline Graphics hardware Image-based rendering.
Gopi -ICS186AW03 - Slide1 Graphics Pipeline: First Pass.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Status – Week 280 Victor Moya. Rasterization Setup triangles. Setup triangles. Fill triangle: Interpolate parameters. Fill triangle: Interpolate parameters.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Lecture 5: 3D Rendering Pipeline (II) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
INTRO TO COMPUTER GRAPHICS TEXT EDWARD ANGEL: EDITION 5 CS770/870
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS The Geometry Pipeline.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
Real-time Shadow Mapping. Shadow Mapping Shadow mapping uses two-pass rendering - render depth texture from the light ’ s point-of-view - render from.
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.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
CAP4730: Computational Structures in Computer Graphics 3D Transformations.
Viewing CS418 Computer Graphics John C. Hart. Graphics Pipeline Homogeneous Divide Model Coords Model Xform World Coords Viewing Xform Still Clip Coords.
CS559: Computer Graphics Lecture 9: Rasterization Li Zhang Spring 2008.
Mark Nelson 3d projections Fall 2013
Jens Krüger & Polina Kondratieva – Computer Graphics and Visualization Group computer graphics & visualization 3D Rendering Praktikum: Shader Gallery The.
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.
©2005, Lee Iverson Lee Iverson UBC Dept. of ECE EECE 478 Viewing and Projection.
David Luebke1/10/2016 CS 551 / 645: Introductory Computer Graphics David Luebke
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Graphic pipeline  Scan-conversion algorithm (high level)  Pixels.
1 Angel: Interactive Computer Graphics5E © Addison- Wesley 2009 Image Formation Fundamental imaging notions Fundamental imaging notions Physical basis.
Viewing and Projection
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Chapter 1 Graphics Systems and Models Models and Architectures.
Computer Graphic Creator: Mohsen Asghari Session 4 Fall 2014.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
Outline 3D Viewing Required readings: HB 10-1 to 10-10
Spring 2006 G5BAGR – Advanced Computer Graphics
- Introduction - Graphics Pipeline
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016
Intro to 3D Graphics.
Texture Mapping cgvr.korea.ac.kr.
3D Computer Graphics (3080/GV10) Week 5-6 Tutorial 3
CSCE 441 Computer Graphics 3-D Viewing
CSC461: Lecture 20 Parallel Projections in OpenGL
CENG 477 Introduction to Computer Graphics
3D Clipping.
Projections and Normalization
The Graphics Rendering Pipeline
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Projections and Hidden Surface Removal
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Lecture 13 Clipping & Scan Conversion
Models and Architectures
Chap 3 Viewing Pipeline Reading:
Models and Architectures
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Projections.
Presentation transcript:

CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi

Graphics Pipeline Transform vertices Light vertices Clip to Window extremes Setup edges Rasterize Fill and interpolate colors, depth Test against Z-buffer One entry per pixel: closest so far Update Color and Z buffers

Light Vertices Color Light Direction normal Point Directional Or Both View Direction

Lighting in which space? +1 -1 z=1 Near Plane Far Plane Projective? Distances get distorted Clip coordinates Normalized device coordinates Screen? World Camera -1

Homogeneous Space Clipping Clip coordinates = projective coordinates -1 < x/z < +1 (after perspective divide) -1 < x/w < +1 (clip) -w < x < w -w < y < w 0 < z < w

Rasterize x0,y0,z0 y = mx + c x = 1/m(y+c) =ay+b x2,y2,z2 x+1 = ay+a + b = x + a zp-zl xp-xl zr-zl xr-xl = x1, y1,z1 zp+1 = zp + k

Perspective Distortion z2 z1

Perspective Distortion

Perspective Correction Linear interpolation: p(t) = p1 + (p2 – p1) t, 0 <= t <= 1 Screen space interpolation: ys = y1s + t (y2s – y1s) y/z = y1/z1 + t (y2/z2 – y1/z1) But also: y = y1 + u (y2 – y1) z = z1 + u (z2 – z1)

Perspective Correction

Perspective Correction

Perspective Correct Z

Perspective Corrected