1 / 18

Applying parallel processing approach for interactive global illumination

Applying parallel processing approach for interactive global illumination . By Mahmoud Moustafa Zidan Basic Sciences Department Faculty of Computer and Information Sciences Ain Shams University Under Supervision of Prof. Dr. Taymoor Nazmy Computer Science Department

idra
Télécharger la présentation

Applying parallel processing approach for interactive global illumination

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. Applying parallel processing approach for interactive global illumination By MahmoudMoustafaZidan Basic Sciences Department Faculty of Computer and Information Sciences Ain Shams University Under Supervision of Prof. Dr. TaymoorNazmy Computer Science Department Faculty of Computer and Information Sciences Ain Shams University Prof. Dr. Mohamed Hashem Information Systems Department Faculty of Computer and Information Sciences Ain Shams University Dr. Haytham El-Messiry Computer Science Department Faculty of Computer and Information Sciences Ain Shams University

  2. Agenda • Introduction to RT, GI, GPU • Previous Work (GI, Hierarchy Construction) • Proposed Approach for Hierarchal Tree Construction • Proposed Algorithm for Building Binned SAH BVH • Proposed Approach for Parallel Ray Tracing and Photon Mapping • Results • Conclusion

  3. Ray Tracing , Global Illumination

  4. GPU Architecture, GPGPU, CUDA

  5. Previous Work -Rendering- • Offline VS Interactive (Real-time) Rendering • Rasterization • Physically Based Rendering • Reyes Rendering • Precomputed Radiance Transfer • Parallel Hieratical Tree Construction • KD-Tree [Zhou et al. 2008] • SAH BVH, LBVH [Lauterbach et al. 2009] • Interactive (Real-time) GPU RT , GPU PM • Real-time RT [Zhou et al. 2008] • Interactive PM [Wang et al. 2009]

  6. Proposed Approach for Hierarchal Tree Construction • Data parallel utilities • Data Parallel Primitive Algorithms (main building blocks for parallel algorithms) • Data parallel operator • Data parallel code fragment • Parallel extensions to math/logic operators on GPU A simple reformulation of previous parallel algorithms on GPU

  7. Proposed Algorithm for Building Binned SAH BVH • Pervious work • GPU SAH BVH [Lauterbach et al. 2009] (high quality tree, slow construction) • GPU LBVH [Lauterbach et al. 2009] (moderate (low) quality tree, fast construction) • HLBVH

  8. Proposed approach -binned SAH BVH- • Evaluates SAH as (small) (variable) number of candidates (e.g. 32-4) is enough for good tree [instead of (large) (fixed) candidates in SAH BVH] • Divide triangles into fixed size chunks for better work load • Evaluates SAH at chunks and used parallel scans to share intermediate values of SAH (work efficiency) • Also use LBVH to build higher tree levels for faster algorithms

  9. Proposed approach for RT, PM • Entire mapping of all rendering stages on GPU • A simple reformulation of previous approaches for both ray tracing and photon mapping • Evaluate proposed hierarchy for binned SAH BVH

  10. Parallel GI on GPU

  11. Results • Ray tracing evaluation

  12. Results • Witted ray tracing

  13. Results • Photon mapping

  14. Demo

  15. Conclusion • New approach for GPU parallel code which simplifies previous proposed algorithms • Proposed fast algorithm for building BVH

  16. Future work • New parallel template library (e.g. thrust) • Use the LBVH appraoch for fast point-based KD-tree • Enhance ray tracer for distributed effects • Enhance photon mapping for area light

  17. Acknowledgement

  18. Questions

More Related