Computer graphics & visualization. Raytracing … or where did my performance go? M.G. Chajdas.

Slides:



Advertisements
Similar presentations
Christian Lauterbach COMP 770, 2/16/2009. Overview  Acceleration structures  Spatial hierarchies  Object hierarchies  Interactive Ray Tracing techniques.
Advertisements

Computer graphics & visualization Global Illumination Effects.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Subsurface scattering Model of light transport in translucent materials Marble, jade, milk, skin Light penetrates material and exits at different point.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Chapter 11: Advanced Rendering Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Ray Tracing Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Alla Sheffer Advanced Rendering Week.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Photon Tracing with Arbitrary Materials Patrick Yau.
Parallelizing Raytracing Gillian Smith CMPE 220 February 19 th, 2008.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
Rendering General BSDFs and BSSDFs Randy Rauwendaal.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
Ray Tracing CS Nov. 19, Turner Whitted.
Ray Tracing 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009.
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
RT08, August ‘08 Large Ray Packets for Real-time Whitted Ray Tracing Ryan Overbeck Columbia University Ravi Ramamoorthi Columbia University William R.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Computer Graphics 2 Lecture x: Acceleration Techniques for Ray-Tracing Benjamin Mora 1 University of Wales Swansea Dr. Benjamin Mora.
Computer graphics & visualization Ray-Tracing – A Quick review.
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.
02/28/05© 2005 University of Wisconsin Last Time Scattering theory Integrating tranfer equations.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
The Fundamentals of Ray-Tracing Szirmay-Kalos László Dept. of Control Engineering and Information Technology Budapest University of Technology
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
Volume radiosity Michal Roušal University of West Bohemia, Plzeň Czech republic.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Computer graphics & visualization Photon Mapping.
Collaborative Visual Computing Lab Department of Computer Science University of Cape Town Graphics Topics in VR By Shaun Nirenstein.
Rendering Plant Leaves Faithfully Oliver Franzke (Dresden University of Technology) Oliver Deussen (University of Konstanz)
Bi-Directional Reflectance Distribution Functions (BRDF’s) Matthew McCrory.
Recursion and Data Structures in Computer Graphics Ray Tracing 1.
Binary Space Partitioning Trees Ray Casting Depth Buffering
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.
Global Illumination: Radiosity, Photon Mapping & Path Tracing Rama Hoetzlein, 2009 Lecture Notes Cornell University.
CS 450: COMPUTER GRAPHICS TRANSPARENT SURFACES SPRING 2015 DR. MICHAEL J. REALE.
Monte-Carlo Ray Tracing and
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
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.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Ray Tracing Optimizations
Global Illumination (3) Photon Mapping (1). Overview Light Transport Notation Path Tracing Photon Mapping –Photon Tracing –The Photon Map.
RENDERING : Global Illumination
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
Path/Ray Tracing Examples. Path/Ray Tracing Rendering algorithms that trace photon rays Trace from eye – Where does this photon come from? Trace from.
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
Distributed Ray Tracing. Can you get this with ray tracing?
11/29/01CS 559, Fall 2001 Today Photorealistic rendering Algorithms for producing high-quality images Ways of deciding which algorithm for use.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Visualization of Scanned Cave Data with Global Illumination
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Modeliranje kompleksnih modelov
Real-Time Ray Tracing Stefan Popov.
© University of Wisconsin, CS559 Fall 2004
The Rendering Equation
Range Profile Synthesis
(c) 2002 University of Wisconsin
Path Tracing (some material from University of Wisconsin)
Physics-based simulation for visual computing applications
CS 655 – Computer Graphics Global Illumination.
Radiosity Dr. Scott Schaefer.
Ray-tracing Algorithm and Hardware
(c) 2002 University of Wisconsin
Image synthesis using classical optics
Modeliranje kompleksnih modelov
Presentation transcript:

computer graphics & visualization

Raytracing … or where did my performance go? M.G. Chajdas

Ray-tracing Name says it all: Trace rays – Lots of rays – And some more Hardware vendors love it!

Ray-tracing

Goal

The rendering equation 5D: BRDF 5D: BRDF 4D: Light Result

Rendering equation If you think it‘s complex … It doesn‘t capture: – Phosphoresence – Flurorescence – Intereference – Subsurface scattering

Solving the equation Maple? Matlab?

Rendering equation What makes it complicated to evaluate? Outgoing light depends on incoming light I.e. it‘s recursive

Direct illumination

Global illumination … Loss of energy with more bounces!

Global illumination Mirror-BRDF:

Global illumination Diffuse-BRDF:

How to get it fast? Clever sampling Clever intersections

Sampling

Intersections

Classic search problem Trees to the rescue – Space partitioning: Subdivide the space – Object partitioning: Group objects

BSP

struct Plane { float normal [3]; float dist; }; struct Node { int plane; int children [2]; int boundingBoxMin [3]; int boundingBoxMax [3]; }; struct Leaf { int cluster; int area; int boundingBoxMin [3]; int boundingBoxMax [3]; int firstFaceIndex; int faceCount; int firstBrushIndex; int brushCount; }; Use the source, Luke!

BVH

Raytracing, recap Raytracing can solve the rendering equation – It can simulate all light transport paths Requires lots of rays – Sample the important directions only, so less rays are wasted – Build acceleration structures so each individual ray is cheap

Raytracing, limitations