density estimation optimizations for global illumination
play

Density Estimation Optimizations for Global Illumination Rub en - PowerPoint PPT Presentation

Introduction New optimizations Theoretical study Future Work Conclusion Density Estimation Optimizations for Global Illumination Rub en Garc a, Carlos Ure na, Jorge Revelles, Miguel Lastra, Rosana Montes Thursday, February 2,


  1. Introduction New optimizations Theoretical study Future Work Conclusion Density Estimation Optimizations for Global Illumination Rub´ en Garc´ ıa, Carlos Ure˜ na, Jorge Revelles, Miguel Lastra, Rosana Montes Thursday, February 2, 2006 Grupo de Investigaci´ on en Inform´ atica Gr´ afica. Lenguajes y Sistemas Inform´ aticos. University of Granada. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  2. Introduction New optimizations Density Estimation on the Tangent Plane Theoretical study Sphere Cach´ e Future Work Conclusion Method Based on the density estimation technique of Photon Maps, however DETP Stores the trajectories of the photons. To calculate irradiance at a point, a disc of fixed radius centered at the point and tangent to the surface is created, and the contribution of the rays intersecting the disc are added. Finally, the result is divided by the area of the disc. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  3. Introduction New optimizations Density Estimation on the Tangent Plane Theoretical study Sphere Cach´ e Future Work Conclusion Diagram Density Estimation on the Tangent Plane Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  4. Introduction New optimizations Density Estimation on the Tangent Plane Theoretical study Sphere Cach´ e Future Work Conclusion DETP Optimization: Sphere Cach´ e A hierarchy of englobing spheres is created which allows for the rapid calculation of the rays intersecting a given disc. Inner spheres are recalculated when the disc leaves the sphere. This method is useful if the discs have spatial coherency: Point sorting. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  5. Introduction New optimizations Density Estimation on the Tangent Plane Theoretical study Sphere Cach´ e Future Work Conclusion Diagram Sphere Cach´ e Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  6. Introduction New optimizations Disc Indexing Theoretical study Results Future Work Conclusion DETP Optimization: Disc Indexing A spatial indexing of the discs is created. For each ray, the structure is traversed from the origin of the ray until its intersection with the real scene. Each intersected disc increases its energy according to the energy of the ray. Independent of the spatial indexing method. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  7. Introduction New optimizations Disc Indexing Theoretical study Results Future Work Conclusion Disc Indexing Disc Indexing Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  8. Introduction New optimizations Disc Indexing Theoretical study Results Future Work Conclusion Experimental Results Tree Atrium 72 500 triangles 122 318 triangles Disc Indexing obtains up to 50 % reduction in time with respect to Sphere Cach´ e for small discs. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  9. Introduction New optimizations Notation Theoretical study Assumptions Future Work Results Conclusion Theoretical results: Notation n R : number of rays n P : number of irradiance points. d : disc radius r 0 : radius of the first sphere, which surrounds the scene. Q : Radius factor: r i +1 = Q ∗ r i ; 0 < Q < 1 Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  10. Introduction New optimizations Notation Theoretical study Assumptions Future Work Results Conclusion Assumptions of the analysis Uniform distribution of rays. Uniform distribution of irradiance points. With this, the average fraction of rays in a convex set can be calculated: It is the ratio between the surface of the set and the surface of the bounding box of the scene. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  11. Introduction New optimizations Notation Theoretical study Assumptions Future Work Results Conclusion Result: Estimation of the optimal value of Q Intersections optimal Q if the radius of the last sphere equals the disc radius. Small Q implies less cost in cache misses. The global minimum is around 0.6-0.7. This is coherent with experiments. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  12. Introduction New optimizations Notation Theoretical study Assumptions Future Work Results Conclusion Theoretical efficiency results Sphere Cache O ( n R n P ), hidden constant d 2 r 2 0 √ n P ) For d ≈ distance between samples: O ( n R 3 Disc Indexing, d ≈ distance between samples √ n P log n P ) Unbalanced trees: O ( n R 3 √ n P ) Balanced trees: O ( n R 3 Disc Indexing, large discs O ( n R n P ), hidden constant d 2 0 log r 0 r 2 d Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  13. Introduction New optimizations Theoretical study Future Work Conclusion Future Work The theoretical study allows us to use known characteristics of the scene to guide hybrid algorithms. Example: Quasi-static scenes (static scene, relatively small mobile objects) Static Scene: Disc Indexing theoretically more efficient. Dynamic Objects: Sphere Cache theoretically more efficient. This allows for an efficient hybrid algorithm for these scenes. Garc´ ıa et al Density Estimation Optimizations for Global Illumination

  14. Introduction New optimizations Theoretical study Future Work Conclusion Conclusion Disc Indexing has been described and implemented. This technique increases performance of Global Illumination calculations. A theoretical study of the time efficiency has been carried out. The usefulness of the theoretical study to guide the development of algorithms has been shown. (Quasi-static scenes) Garc´ ıa et al Density Estimation Optimizations for Global Illumination

Recommend


More recommend