Honours Graphics 2008 Session 5. Today’s focus Rasterization Visibility determination Coarse / fine visibility determination.

Slides:



Advertisements
Similar presentations
Computer Graphics - Rasterization -
Advertisements

Visible-Surface Detection(identification)
3D Graphics Rendering and Terrain Modeling
Hidden Surface Removal CSE 581. Visibility Assumption: All polygons are opaque What polygons are visible with respect to your view frustum?  Outside:
CAP4730: Computational Structures in Computer Graphics Visible Surface Determination.
CECS461 Computer Graphics II University of Missouri at Columbia Hidden Surface Removal.
Visibility in Computer Graphics Toni Sellarès Unversitat de Girona
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Hidden Surface Removal 고려대학교 컴퓨터 그래픽스 연구실.
Korea Univ. Graphics Lab. 3D Game Engine Design Chapter 12. Spatial Sorting Chung Ji Hye
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
CS 4731: Computer Graphics Lecture 18: Hidden Surface Removal Emmanuel Agu.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
CGDD 4003 THE MASSIVE FIELD OF COMPUTER GRAPHICS.
Clipping & Scan Conversion
Tomas Mőller © 2000 Speeding up your game The scene graph Culling techniques Level-of-detail rendering (LODs) Collision detection Resources and pointers.
Computer Graphics 14: Surface Detection Methods
Hidden Surface Elimination Wen-Chieh (Steve) Lin Institute of Multimedia Engineering I-Chen Lin’ CG Slides, Rich Riesenfeld’s CG Slides, Shirley, Fundamentals.
Vertices and Fragments III Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
1 Advanced Scene Management System. 2 A tree-based or graph-based representation is good for 3D data management A tree-based or graph-based representation.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
02/04/03 Page 1 Rendering Visibility Lighting Texturing.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Other Rendering Techniques Types of rendering – Wireframe techniques – Scan-line conversion – Reyes.
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.
Hidden Surface Removal
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
Computer Graphics An Introduction. Computer Graphics 26/9/2008Lecture 12 What’s this course all about? We will cover… Graphics programming and algorithms.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
The Visibility Problem In many environments, most of the primitives (triangles) are not visible most of the time –Architectural walkthroughs, Urban environments.
Culling Techniques “To cull” means “to select from group” In graphics context: do not process data that will not contribute to the final image The “group”
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
Computer Graphics 2 Lecture 8: Visibility Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
Advanced Computer Graphics Depth & Stencil Buffers / Rendering to Textures CO2409 Computer Graphics Week 19.
Real-Time Rendering SPEEDING UP RENDERING Lecture 04 Marina Gavrilova.
Visible-Surface Detection Jehee Lee Seoul National University.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Advanced Scene Management. 2 This is a game-type-oriented issue Bounding Volume Hierarchies (BVHs) Binary space partition trees (BSP Trees) “Quake”
2 COEN Computer Graphics I Evening’s Goals n Discuss application bottleneck determination n Discuss various optimizations for making programs execute.
Real-time Graphics for VR Chapter 23. What is it about? In this part of the course we will look at how to render images given the constrains of VR: –we.
1Computer Graphics Implementation II Lecture 16 John Shearer Culture Lab – space 2
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Hidden Surface Removal
Implementation II.
1 Visiblity: Culling and Clipping Computer Graphics COMP 770 (236) Spring 2009 January 21 & 26: 2009.
Mark Nelson 3d projections Fall 2013
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Graphic pipeline  Scan-conversion algorithm (high level)  Pixels.
Maths & Technologies for Games Spatial Partitioning 2
Computer Graphics I, Fall 2010 Implementation II.
1 CSCE 441: Computer Graphics Hidden Surface Removal Jinxiang Chai.
Honours Graphics 2008 Session 7. Today’s focus Indoor environment rendering BSP and Portal techniques revisited.
01/28/09Dinesh Manocha, COMP770 Visibility Computations Visible Surface Determination Visibility Culling.
Computer Graphics Inf4/MSc 1 Computer Graphics Lecture 5 Hidden Surface Removal and Rasterization Taku Komura.
Graphics, Modeling, and Textures Computer Game Design and Development.
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.
1 Advanced Scene Management. 2 This is a game-type-oriented issue Bounding Volume Hierarchies (BVHs) Binary space partition trees (BSP Trees) “Quake”
09/23/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Reflections Shadows Part 1 Stage 1 is in.
Visible-Surface Detection Methods. To identify those parts of a scene that are visible from a chosen viewing position. Surfaces which are obscured by.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Visible Surface Detection
Computer Graphics Implementation II
Hidden Surface Removal
3D Graphics Rendering PPT By Ricardo Veguilla.
CS451Real-time Rendering Pipeline
CSCE 441: Computer Graphics Hidden Surface Removal
Graphics, Modeling, and Textures
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.
Presentation transcript:

Honours Graphics 2008 Session 5

Today’s focus Rasterization Visibility determination Coarse / fine visibility determination

Rasterization General term for the process of converting vector information to a raster format Covers 3D space transformations, projection onto image plane, clipping, scan conversion, texturing, lighting & shadows, effects

Rasterization, cont. Transformation: covered previously Clipping: limit the vector data to FOV; includes side, near and far clip planes Scan conversion: “filling” the triangles described by vertex data, including Texturing, environment mapping, bump mapping, light and shadows

Rasterization, cont. Scan conversion, typically uses scanline algorithm (or variant) Determines render result on a row-by-row basis Sorts polygons into top-left to bottom-right order then proceeds to render each row by intersecting polygons with scanline

Rasterization, cont. Texture mapping – apply image to polygon Environment mapping – view dependent texturing based on an environment map, used to create the illusion of reflection Bump mapping – texturing to create the illusion of depth on a surface

Image curtesy wikipedia Texture mapping Bump mapping

Environment mapping

Visibility determination While mapping and effects are entertaining and yield attractive visual results, the fundamental problem in 3D graphics is visibility determination Related problems “occlusion determination” and “hidden surface removal” Problem particularly relevant for real-time graphics systems A variety of coarse and fine techniques are used to accelerate the process

Visibility determination, fine Fine-grained visibility determination functions on elementary units, such as individual triangles or pixels Examples include backface culling and z-buffers

Visibility determination, coarse Many simple and complex algorithms exist that perform coarse visibility determination Don’t cater for specific, individual pieces; instead make broad sweeping statements regarding visibility. Can eliminate or select entire sets of visible data

Coarse Visibility Testing Typically makes use of spatial organisation to quickly determine whether large sets of data are visible or occluded Examples: view frustrum culling, binary space partitions, portals, potential visibility sets, quadtrees, octrees

View frustum Determine whether spatial sets are inside the FOV

Quadtree Hierarchical divisioning scheme

Octree 3D version of a quadtree Quadtrees typically apply to terrain data, octrees apply to space or urban data

Binary space partitions Originally developed by Henry Fuchs, 1980 Applies binary trees to spatial data Famous for their application in the original Quake game, along with potential visibility sets Useful for spatial sorting, lighting & shadow, physics, collision detection and more

Portals A form of adaptive frustum culling

Potential Visibility Sets Stores summary data on what could be seen from scene elements Applicable to many algorithms

Homework …none… but mentally prepare yourself for plenty tomorrow