Adaptive Mesh Subdivision for Precomputed Radiance Transfer Jaroslav Křivánek Univ. of Central Florida CTU Prague IRISA – INRIA Rennes Sumanta Pattanaik.

Slides:



Advertisements
Similar presentations
Bi-Scale Radiance Transfer Peter-Pike Sloan Xinguo Liu Heung-Yeung Shum John Snyder Microsoft.
Advertisements

Local, Deformable Precomputed Radiance Transfer
Spherical Harmonic Lighting Jaroslav Křivánek. Overview Function approximation Function approximation Spherical harmonics Spherical harmonics Some other.
Fast Depth-of-Field Rendering with Surface Splatting Jaroslav Křivánek CTU Prague IRISA – INRIA Rennes Jiří Žára CTU Prague Kadi Bouatouch IRISA – INRIA.
Improved Radiance Gradient Computation Jaroslav Křivánek Pascal Gautron Kadi Bouatouch Sumanta Pattanaik ComputerGraphicsGroup.
Spatial Directional Radiance Caching Václav Gassenbauer Czech Technical University in Prague Jaroslav Křivánek Cornell University Kadi Bouatouch IRISA.
Exploration of bump, parallax, relief and displacement mapping
Computer graphics & visualization Global Illumination Effects.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
Radiosity Mel Slater Department of Computer Science University College London
Developer’s Survey of Polygonal Simplification Algorithms Based on David Luebke’s IEEE CG&A survey paper.
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
Computer graphics & visualization Pre-Computed Radiance Transfer PRT.
Illumination Model & Surface-rendering Method 박 경 와.
Shape from Contours and Multiple Stereo A Hierarchical, Mesh-Based Approach Hendrik Kück, Wolfgang Heidrich, Christian Vogelgsang.
Precomputed Local Radiance Transfer for Real-time Lighting Design Anders Wang Kristensen Tomas Akenine-Moller Henrik Wann Jensen SIGGRAPH ‘05 Presented.
IMGD 1001: Illumination by Mark Claypool
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
(conventional Cartesian reference system)
Visualization and graphics research group CIPIC January 30, 2003Multiresolution (ECS 289L) - Winter MAPS – Multiresolution Adaptive Parameterization.
Precomputed Radiance Transfer Harrison McKenzie Chapter.
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
Visualization and graphics research group CIPIC February 13, 2003ECS289L – Multiresolution Methods – Winter Illumination Dependent Refinement of.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Faking Dynamics of Cloth Animation for Animated Films Fabian Di Fiore Expertise Centre for Digital Media Hasselt University, Belgium
Shading (introduction to rendering). Rendering  We know how to specify the geometry but how is the color calculated.
Efficient Irradiance Normal Mapping Ralf Habel, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University of Technology.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
Jonathan M Chye Technical Supervisor : Mr Matthew Bett 2010.
-Global Illumination Techniques
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
02/18/05© 2005 University of Wisconsin Last Time Radiosity –Converting the LTE into the radiosity equation –Solving with Gauss-Seidel relaxation –Form.
Computer Graphics and Multimedia Systems, University of Siegen, Germany 1 GPU-Based Responsive Grass Jens Orthmann, Christof Rezk-Salama, Andreas Kolb.
Week 6 - Wednesday.  What did we talk about last time?  Light  Material  Sensors.
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University SIGGRAPH 2001 Stanford University SIGGRAPH.
Taku KomuraComputer Graphics Local Illumination and Shading Computer Graphics – Lecture 10 Taku Komura Institute for Perception, Action.
View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations Paul Green 1 Jan Kautz 1 Wojciech Matusik 2 Frédo Durand 1.
Image-Based Rendering of Diffuse, Specular and Glossy Surfaces from a Single Image Samuel Boivin and André Gagalowicz MIRAGES Project.
Fast Approximation to Spherical Harmonics Rotation Sumanta Pattanaik University of Central Florida Kadi Bouatouch IRISA / INRIA Rennes Jaroslav Křivánek.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
Fast Approximation to Spherical Harmonics Rotation
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 8 Ravi Ramamoorthi
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
1 Temporal Radiance Caching P. Gautron K. Bouatouch S. Pattanaik.
Local Illumination and Shading
Non-Linear Kernel-Based Precomputed Light Transport Paul Green MIT Jan Kautz MIT Wojciech Matusik MIT Frédo Durand MIT Henrik Wann Jensen UCSD.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
DPL3/10/2016 CS 551/651: Simplification Continued David Luebke
Schedule Update GP 4 – Tesselation/Cg GDS 4 – Subdiv Surf. GP 5 – Object Modeling Lab: Mini-proj Setup GDS 5 – Maya Modeling MCG 6 – Intersections GP 6.
Light Animation with Precomputed Light Paths on the GPU László Szécsi, TU Budapest László Szirmay-Kalos, TU Budapest Mateu Sbert, U of Girona.
Precomputation aided GI on the GPU László Szirmay-Kalos.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
POLYGON MESH Advance Computer Graphics
Chapter 14 Shading Models.
© University of Wisconsin, CS559 Fall 2004
CSC461: Lecture 23 Shading Computation
© 2003 University of Wisconsin
Computing Vertex Normals from Arbitrary Meshes
Introduction to Meshes
CS5500 Computer Graphics May 29, 2006
Illumination and Shading
Computer Graphics (Fall 2003)
Chapter 14 Shading Models.
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Meshes
Presentation transcript:

Adaptive Mesh Subdivision for Precomputed Radiance Transfer Jaroslav Křivánek Univ. of Central Florida CTU Prague IRISA – INRIA Rennes Sumanta Pattanaik Univ. of Central Florida Jiří Žára CTU Prague ComputerGraphicsGroup

Goal Decrease the interpolation Error uniformadaptive

Overview Precomputed Radiance Transfer Transfer Operator Sampling Density Subdivision algorithm Triangle error estimate Conclusion

Precomputed Radiance Transfer (PRT) Restrictions Low-frequency directional lighting Soft shadows only Per-vertex precomputation Rigid objects only Precompute global illumination (per-vertex) Display GI in real-time under arbitrary lighting

PRT Terminology

PRT for Diffuse Surfaces L p … exit radiance at point p (displayed intensity) l … light vector (in SH basis) t p … source-to-exit transfer vector at p Computed in preprocess Stored per-vertex or per-texel Non-adaptively

no abrupt change of t p Transfer Vector Abrupt changes of t p  Possible abrupt changes of L p l1l1 l2l2 abrupt change of t p

Our Goal Refined Adaptive Sampling of t p, subject to visual error under any lighting is minimized, # of samples of t p (i.e. # verts) is nimimized Per-vertex t p  adaptive mesh subdivision Subdivision in pre-process Along with the pre-computation of t p Actual lighting L p is not known  Subdivision based only on t p, not on L p

Adaptive Sampling Example 200 verts 246 tris 1565 verts 2548 tris 1188 verts 2828 tris

Adaptive Sampling Example 200 verts 246 tris 1565 verts 2548 tris 1188 verts 2828 tris

Subdivision Algorithm Initial mesh Compute t p for vertices of the initial mesh Compute error estimate for the triangles of the initial mesh Subdivide according to the error estimate Proceed recursively (priority queue), until triangle budget is met

Ideal Error Estimate Ideal error estimate for triangle  Error = maximum relative deviation of the interpolated exit radiance from the correct exit radiance over all unit power lighting l and all triangle points x. Or rather: one of possible ‘ideal error estimates’ other possibilities avg instead of max ? smoothness of the Gouraud interpolation instead of deviation from the correct value ?

Practical Error Estimate (1) Subdivision in preprocess  Error estimate based uniquely on t p Triangle error = Sum edge errors First edge error estimate (triangle edge v 1 -v 2 ) Development of (1) from the ‘ideal e. e.’ given in the paper (1)

Results with Error Estimate (1) Too much subdivision in shadowed areas. is low  is high.

Error Estimate (2) Division by promotes subdivision in shadowed areas. Solution: remove the division by. New error estimate: (2)

Results with Error Estimate (2) worse Better subdivision around the box / box faces. better

Problems with Error Estimate (2) Works fine for flat surfaces Exaggerated on curved surfaces

Rectified Error Estimate for Curved Surfaces Divide by the angle between the normals at v 1 and v 2. (3)

Conclusion Adaptive subdivision Decreased interpolation error Superior quality compared to uniform subdivision Subdivision performed in preprocess no dynamic subdivision in real-time Based on a worst error estimate

Discussion + Future Work Drawbacks Final error estimate is a pure heuristic Requires a lot of tweaking to get good results The absolute value of the error estimate is meaningless Only the ordering is ok Future Work Extend to arbitrary BRDFs Use textures instead of vertices Perceptually based