• DocumentCode
    1468428
  • Title

    Raytracing Dynamic Scenes on the GPU Using Grids

  • Author

    Guntury, S. ; Narayanan, P.J.

  • Author_Institution
    Center for Visual Inf. Technol. (CVIT), Int. Inst. of Inf. Technol., Hyderabad, India
  • Volume
    18
  • Issue
    1
  • fYear
    2012
  • Firstpage
    5
  • Lastpage
    16
  • Abstract
    Raytracing dynamic scenes at interactive rates have received a lot of attention recently. We present a few strategies for high performance raytracing on a commodity GPU. The construction of grids needs sorting, which is fast on today´s GPUs. The grid is thus the acceleration structure of choice for dynamic scenes as per-frame rebuilding is required. We advocate the use of appropriate data structures for each stage of raytracing, resulting in multiple structure building per frame. A perspective grid built for the camera achieves perfect coherence for primary rays. A perspective grid built with respect to each light source provides the best performance for shadow rays. Spherical grids handle lights positioned inside the model space and handle spotlights. Uniform grids are best for reflection and refraction rays with little coherence. We propose an Enforced Coherence method to bring coherence to them by rearranging the ray to voxel mapping using sorting. This gives the best performance on GPUs with only user-managed caches. We also propose a simple, Independent Voxel Walk method, which performs best by taking advantage of the L1 and L2 caches on recent GPUs. We achieve over 10 fps of total rendering on the Conference model with one light source and one reflection bounce, while rebuilding the data structure for each stage. Ideas presented here are likely to give high performance on the future GPUs as well as other manycore architectures.
  • Keywords
    cache storage; computer graphic equipment; coprocessors; data structures; grid computing; multiprocessing systems; ray tracing; rendering (computer graphics); sorting; GPU; L1 caches; L2 caches; camera; data structures; enforced coherence method; grids; high performance raytracing; independent voxel walk method; light source; manycore architectures; raytracing dynamic scenes; reflection rays; refraction rays; voxel mapping; Coherence; Data structures; Graphics processing unit; Instruction sets; Light sources; GPU.; Raytracing; grids; load balancing; ray coherence;
  • fLanguage
    English
  • Journal_Title
    Visualization and Computer Graphics, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1077-2626
  • Type

    jour

  • DOI
    10.1109/TVCG.2011.46
  • Filename
    5728799