Rendering theory & practice. Introduction  We’ve looked at modelling, surfacing and animating.  The final stage is rendering.  This can be the most.

Slides:



Advertisements
Similar presentations
SI31 Advanced Computer Graphics AGR
Advertisements

Computer graphics & visualization Global Illumination Effects.
Lecture 14 Illumination II – Global Models
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
3D Graphics Rendering and Terrain Modeling
Radiosity Mel Slater Department of Computer Science University College London
Modeling the Interaction of Light Between Diffuse Surfaces Cindy M. Goral, Keenth E. Torrance, Donald P. Greenberg and Bennett Battaile Presented by: Chris.
Illumination Models Radiosity Chapter 14 Section 14.7 Some of the material in these slides may have been adapted from University of Virginia, MIT, Colby.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
Lighting and Illumination Lighting is the major problem in computer graphics, for either realism or real-time compositions- harder than modeling Consider.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Alla Sheffer Advanced Rendering Week.
IMGD 1001: Illumination by Mark Claypool
Interreflections and Radiosity : The Forward Problem Lecture #11 Thanks to Kavita Bala, Pat Hanrahan, Doug James, Ledah Casburn.
Radiosity Syed-Areeb A. Sabzposh S. Yaris A. Sabzposh CSC /11/2004.
7M836 Animation & Rendering
1 7M836 Animation & Rendering Global illumination, radiosity Arjan Kok
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
The Radiosity Method Donald Fong February 10, 2004.
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Radiosity What we can do with scan line conversion and ray tracing What we can’t do Radiosity.
Fundamentals of Computer Graphics Part 6 Shading prof.ing.Václav Skala, CSc. University of West Bohemia Plzeň, Czech Republic ©2002 Prepared with Angel,E.:
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
12/05/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling Very brief intro to global illumination.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Volume radiosity Michal Roušal University of West Bohemia, Plzeň Czech republic.
Global Illumination Models THE WHITTED IMAGE - BASIC RECURSIVE RAY TRACING Copyright © 1997 A. Watt and L. Cooper.
Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
Pure Path Tracing: the Good and the Bad Path tracing concentrates on important paths only –Those that hit the eye –Those from bright emitters/reflectors.
Radiosity 1. 2 Introduction Ray tracing best with many highly specular surfaces ­Not real scenes Rendering equation describes general shading problem.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
CS 445 / 645 Introduction to Computer Graphics Lecture 16 Radiosity Radiosity.
Fast Global Illumination Including Specular Effects Xavier Granier 1 George Drettakis 1 Bruce J. Walter 2 1 iMAGIS -GRAVIR/IMAG-INRIA iMAGIS is a joint.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Distributed Ray Tracing. Can you get this with ray tracing?
CS552: Computer Graphics Lecture 33: Illumination and Shading.
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
CS 376 Introduction to Computer Graphics 04 / 18 / 2007 Instructor: Michael Eckmann.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer Graphics: Illumination
Illumination and Shading. Illumination (Lighting) Model the interaction of light with surface points to determine their final color and brightness OpenGL.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Global Illumination: Radiosity, Photon Mapping & Path Tracing
Unit-7 Lighting and Shading
CS 319 Advanced Topics in Computer Graphics John C. Hart
(c) 2002 University of Wisconsin
(c) 2002 University of Wisconsin
Image.
Illumination and Shading
Advanced Computer Graphics
CSC418 Computer Graphics Raytracing Shadows Global Illumination.
Presentation transcript:

Rendering theory & practice

Introduction  We’ve looked at modelling, surfacing and animating.  The final stage is rendering.  This can be the most time consuming part of the process depending on the complexity of you scene.  Many people underestimate the time needed But you won’t of course!

Some basic things to remember  Render to frame files rather than movie files  Use file formats that use no compression or loss-less compression  Use anti-aliasing (within reason)  Don’t raytrace if you can avoid it!

Simple shading  We’ve already considered this in the simplest sense: Flat, Gouraud and Phong shading  None of these consider inter-face reflections or shadows.  We need these for visual realism.  For these we need global illumination algorithms

Global illumination  This simulates the interaction of light with the entire environment rather than individual surfaces.  Light is tracked from emitters to sensors.  Shadows are automatically generated, as are interactions between surfaces.  There are two common approaches: ray tracing and radiosity  Before we look at these in detail, we should look at some general features of global illumination

Global illumination (2)  Ignoring the fact that the calculations (as we shall see later) are complex, the solution to global illumination is simple:  Start at a light source  Trace every light path through the environment it either: * hits the eye point * has its energy reduced below a threshold * travels out of the environment

A first attempt: the rendering equation where I(x,x’) is the transport intensity g(x, x') is the visibility function  (x, x') transfer emittance  (x, x', x'') is the scattering term  Describes what happens at point x on a surface due to light travelling from it

Another attempt: surface-surface interactions  We can also model the way one surface interacts with another  This is easier to consider non-mathematically  Four different interactions: diffuse to diffuse specular to diffuse diffuse to specular specular to specular

Mechanisms of light transport Diffuse to diffuseSpecular to diffuse Specular to specularDiffuse to specular

Mechanisms of light transport (2)  Specular-specular transfer can be calculated using ray-tracing  Diffuse-diffuse transfer can be calculated using radiosity  Specular-diffuse and diffuse-specular need a combination  We can categorise the type of transfer so that we know how to handle a given situation

Categories of light transfer  Light-Diffuse-Diffuse-Eye (LDDE)  Light-Specular-Diffuse-Eye (LSDE)  Light-Diffuse-Specular-Eye (LDSE)  Light-Specular-Specular-Eye (LSSE) ……

Examples of light transfer

Ray tracing Initial ray Transmitted ray Reflected ray Transmitted ray Eye Initial ray Transmitted ray Reflected ray

Including a local model

A classic ray-traced scene

Radiosity  This implements diffuse-diffuse transfer.  Instead of following individual rays, interaction between patches in a scene are considered.  This is different from other global illumination algorithms in two important ways: * the solution is view independent * the scene must be divided into patches

Radiosity (2)  Consider a light source as an array of emitting patches  Light is shot from these into the scene and we consider the diffuse-diffuse interaction between the light patch and the first hit patch  The energy arriving at the hit patch is then re- emitted according to the surface properties, hitting other patches…  This process iterates until there are no further significant changes in energy distribution

Radiosity example