1 / 55

Radiance Caching for Efficient Global Illumination Computation

3 rd International Radiance Workshop 11 - 12 October 2004, Fribourg, Switzerland. Radiance Caching for Efficient Global Illumination Computation. J. Křivánek P. Gautron S. Pattanaik K. Bouatouch. High Quality GI. The Day After Tomorrow, © 2004 20th Century Fox.

Michelle
Download Presentation

Radiance Caching for Efficient Global Illumination Computation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3rd International Radiance Workshop 11 - 12 October 2004, Fribourg, Switzerland Radiance Caching for Efficient Global Illumination Computation J. Křivánek P. Gautron S. Pattanaik K. Bouatouch Radiance Workshop 2004 – Fribourg, Switzerland

  2. High Quality GI The Day After Tomorrow, © 2004 20th Century Fox Shrek 2, © 2004 PDI/DreamWorks Radiance Workshop 2004 – Fribourg, Switzerland

  3. Global Illumination… How? ∫ Li(P, ωi) = Lo(P, ωo) * BRDF(ωo, ωi) *cos(θ)dωi Radiance Workshop 2004 – Fribourg, Switzerland

  4. Monte Carlo ∫ Li(P, ωi) = Lo(P, ωo) * BRDF(ωo, ωi) *cos(θ)dωi No analytical solution Shooting Gathering Radiance Workshop 2004 – Fribourg, Switzerland

  5. Shooting Radiance Workshop 2004 – Fribourg, Switzerland

  6. Shooting Radiance Workshop 2004 – Fribourg, Switzerland

  7. Shooting Final gathering: costly Photon map only for indirect diffuse Distribution ray tracing for non diffuse: noisy Radiance Workshop 2004 – Fribourg, Switzerland

  8. Gathering Radiance Workshop 2004 – Fribourg, Switzerland

  9. Gathering Support for glossy GI Random sampling: noisy High quality: many rays Radiance Workshop 2004 – Fribourg, Switzerland

  10. Irradiance Caching Sparse computation of indirect diffuse lighting   Radiance Workshop 2004 – Fribourg, Switzerland

  11. Irradiance Caching Sparse computation of indirect diffuse lighting Radiance Workshop 2004 – Fribourg, Switzerland

  12. Irradiance Caching  Sparse computation of indirect diffuse lighting Interpolation Radiance Workshop 2004 – Fribourg, Switzerland

  13. Gradients Why? Without gradients With gradients Images from "Irradiance Gradients", Gregory J. Ward, Paul S. Heckbert Eurographics Workshop on Rendering 1992 Radiance Workshop 2004 – Fribourg, Switzerland

  14. Gradients ni n E = Ei + … Radiance Workshop 2004 – Fribourg, Switzerland

  15. Rotational gradient ni n ni n + (ni x n) Ei r θ E = Ei E = Ei + … Radiance Workshop 2004 – Fribourg, Switzerland

  16. Translational gradient ni n D + (ni x n) E = Ei + D Ei Ei r t Radiance Workshop 2004 – Fribourg, Switzerland

  17. Non diffuse surfaces Irradiance values: indirect diffuse Indirect glossy: distribution ray tracing High quality: many rays Radiance Workshop 2004 – Fribourg, Switzerland

  18. Contributions Extension to indirect glossy lighting BDRF-based selection of record points Low frequency: records High frequency: distribution ray tracing Novel translational gradient Radiance Workshop 2004 – Fribourg, Switzerland

  19. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  20. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  21. Caching on glossy surfaces Need hemispherical data representation Radiance Workshop 2004 – Fribourg, Switzerland

  22. Caching on glossy surfaces ni n ? Need new gradients Radiance Workshop 2004 – Fribourg, Switzerland

  23. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  24. Hemispherical Functions  Original Function Piecewise linear approximation Need a more compact and smooth representation Fast computation of integrals Better fitting Radiance Workshop 2004 – Fribourg, Switzerland

  25. Orthogonal Polynomials fi bi(x)  f(x) = fi = f(x)bi(x)dx fi gi gi bi(x)  g(x) = f(x)g(x)dx = Radiance Workshop 2004 – Fribourg, Switzerland

  26. Application to GI  Incident Radiance BRDF  dot product Radiance Workshop 2004 – Fribourg, Switzerland

  27. Spherical Harmonics (0,0) (1,-1) (1,0) (1,1) (2,-2) (2,-1) (2,0) (2,1) (2,2) Radiance Workshop 2004 – Fribourg, Switzerland

  28. Hemispherical Harmonics (0,0) (1,-1) (1,0) (1,1) (2,-2) (2,-1) (2,0) (2,1) (2,2) A Novel Hemispherical Basis for Accurate and Efficient Rendering P. Gautron, J. Křivànek, S. Pattanaik, K. Bouatouch, EGSR 04 Radiance Workshop 2004 – Fribourg, Switzerland

  29. Why (Hemi)Spherical harmonics? Ease of use Rotation support Radiance Workshop 2004 – Fribourg, Switzerland

  30. Representation Limitations Bandlimited: "ringing" artifacts Limit to low-frequency BRDFs Radiance Workshop 2004 – Fribourg, Switzerland

  31. Adaptive BRDF Representation Why? High frequency Low frequency "(H)SH-Friendly" Ward BRDF with same parameters Radiance Workshop 2004 – Fribourg, Switzerland

  32. Adaptive BRDF Representation How? BRDF = 4D Function Parabolic Parameterization Radiance Workshop 2004 – Fribourg, Switzerland

  33. Incoming Radiance ∫ λlm (P) = Li(P, ωi)Blm(ωi) d ωi Same principle as Irradiance Caching Radiance Workshop 2004 – Fribourg, Switzerland

  34. Incoming Radiance ∫ λlm (P) = Li(P, ωi)Blm(ωi) d ωi (H)SH Same principle as Irradiance Caching Radiance Workshop 2004 – Fribourg, Switzerland

  35. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  36. Radiance Gradients ni n (H)SH Radiance Workshop 2004 – Fribourg, Switzerland

  37. Rotational gradient ni n ni n θ = R (H)SH (H)SH Rotation Matrix Radiance Workshop 2004 – Fribourg, Switzerland

  38. Translational gradient ni n (H)SH D ∂ ∂ 0 , , = (H)SH (H)SH (H)SH ∂ x ∂ y Goal Radiance Workshop 2004 – Fribourg, Switzerland

  39. Translational Gradient Numerical Method p Radiance Workshop 2004 – Fribourg, Switzerland

  40. Translational Gradient p' Δx Numerical Method p Radiance Workshop 2004 – Fribourg, Switzerland

  41. Translational Gradient *Li( )*Blm( ) λlm= Ωk *Li( )*Blm( ) λlm= θk, Φk θk, Φk *Li( )*Blm( ) λ'lm= N N Σ Σ Ω'k *Li( )*Blm( ) λ'lm= θk, Φk θ'k, Φ'k k=1 k=1 ∂ λlm λ'lm-λlm p' p Δx = ∂ x Δx Numerical Method Radiance Workshop 2004 – Fribourg, Switzerland

  42. Translational Gradient ∂ Blm(θk, Φk) ∂ x N N Σ Σ k=1 k=1 Ωk *Li( )*Blm( ) λlm = ∂λlm = ∂ Ωk θk, Φk θk, Φk Blm(θk, Φk) ∂ ∂ 0 , , ∂ x = ∂ x ∂ x ∂ y +Ωk Analytical Method Li(θk, Φk)* Radiance Workshop 2004 – Fribourg, Switzerland

  43. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  44. Outgoing Radiance ni n ∂ ∂ dx dy + + (H)SH (H)SH (H)SH ∂ x ∂ y (H)SH Ri = Radiance Workshop 2004 – Fribourg, Switzerland

  45. Outgoing Radiance ni n i S i S Σ Σ ∂ Λi ∂ Λi Λ(P) Ri Λi dx dy = wi(P) + + ∂ x ∂ y wi(P) Radiance Workshop 2004 – Fribourg, Switzerland

  46. Outgoing Radiance  Incident Radiance BRDF  dot product Radiance Workshop 2004 – Fribourg, Switzerland

  47. Outline Introduction IC for glossy surfaces Hemispherical data representation Radiance gradients Outgoing radiance computation Results Conclusion Radiance Workshop 2004 – Fribourg, Switzerland

  48. Stills comparison Monte Carlo Path Tracing Radiance Caching Rendering time: 155s P4 2.2GHz, 512MB RAM Radiance Workshop 2004 – Fribourg, Switzerland

  49. Stills comparison Monte Carlo Path Tracing Radiance Caching Radiance Workshop 2004 – Fribourg, Switzerland

  50. Video: Cornell Box Radiance Workshop 2004 – Fribourg, Switzerland

More Related