op miza ons for rendering realis c lens flares in
play

Op#miza#ons for Rendering Realis#c Lens flares in Polynomial - PowerPoint PPT Presentation

Op#miza#ons for Rendering Realis#c Lens flares in Polynomial Op#cs Stephen DiIorio CS Department Talk June 1 st , 2015 Photo Credit: HWRG Lens Flare


  1. Op#miza#ons ¡for ¡Rendering ¡ Realis#c ¡Lens ¡flares ¡in ¡Polynomial ¡ Op#cs ¡ Stephen ¡DiIorio ¡ CS ¡Department ¡Talk ¡ June ¡1 st , ¡2015 ¡

  2. Photo ¡Credit: ¡HWRG ¡ Lens ¡Flare ¡

  3. Lens ¡Flare ¡

  4. Lens ¡Flare ¡– ¡In ¡a ¡Perfect ¡World ¡. ¡. ¡. ¡

  5. Lens ¡Flare ¡– ¡Complex ¡Paths ¡

  6. Lens ¡Flare ¡– ¡Mul#ple ¡Samples ¡

  7. Lens ¡Systems ¡Are ¡Complex ¡ Canon ¡Zoom ¡ Johannes ¡Hanika ¡and ¡Carsten ¡Dachsbacher. ¡Efficient ¡Monte ¡Carlo ¡ rendering ¡with ¡realis#c ¡lenses. ¡Computer ¡Graphics ¡Forum ¡ (Proceedings ¡of ¡Eurographics), ¡33(2), ¡April ¡2014. ¡

  8. Mapping ¡Func#on ¡ x f ( x, θ ) θ ≈ Ax 2 + B θ 2 + Cx θ + Dx + E θ + F

  9. Mapping ¡Func#on ¡

  10. Problem ¡ How ¡do ¡we ¡best ¡evaluate ¡these ¡polynomials? ¡ Best ¡refers ¡to ¡how ¡quickly ¡we ¡evaluate ¡the ¡polynomials ¡and ¡which ¡polynomials ¡retain ¡enough ¡ informa#on ¡to ¡create ¡images ¡with ¡high ¡fidelity. ¡ Two ¡Approaches: ¡ • Removing ¡Terms ¡ • Memoiza#on ¡

  11. Removing ¡Terms ¡

  12. Removing ¡Terms ¡

  13. Memoiza#on ¡ Let ¡x ¡= ¡3 ¡ x ¡ x 2 ¡ x 3 ¡ x 4 ¡ x 5 ¡ and ¡y ¡= ¡4 ¡ y ¡ y 2 ¡ y 3 ¡ y 4 ¡ y 5 ¡

  14. Memoiza#on ¡ Let ¡x ¡= ¡3 ¡ x ¡ x 2 ¡ x 3 ¡ x 4 ¡ x 5 ¡ and ¡y ¡= ¡4 ¡ 3 ¡ 9 ¡ 27 ¡ 81 ¡ 243 ¡ y ¡ y 2 ¡ y 3 ¡ y 4 ¡ y 5 ¡ 4 ¡ 16 ¡ 64 ¡ 256 ¡ 1024 ¡

  15. Memoiza#on ¡ Let ¡x ¡= ¡3 ¡ x ¡ x 2 ¡ x 3 ¡ x 4 ¡ x 5 ¡ and ¡y ¡= ¡4 ¡ 3 ¡ 9 ¡ 27 ¡ 81 ¡ 243 ¡ y ¡ y 2 ¡ y 3 ¡ y 4 ¡ y 5 ¡ 4 ¡ 16 ¡ 64 ¡ 256 ¡ 1024 ¡ Z ¡= ¡x ¡+ ¡x 2 ¡+ ¡x 2 ¡+ ¡y 3 ¡+ ¡x 4 ¡+ ¡y 5 ¡+ ¡y 5 ¡

  16. Memoiza#on ¡ Let ¡x ¡= ¡3 ¡ x ¡ x 2 ¡ x 3 ¡ x 4 ¡ x 5 ¡ and ¡y ¡= ¡4 ¡ 3 ¡ 9 ¡ 27 ¡ 81 ¡ 243 ¡ y ¡ y 2 ¡ y 3 ¡ y 4 ¡ y 5 ¡ 4 ¡ 16 ¡ 64 ¡ 256 ¡ 1024 ¡ Z ¡= ¡x ¡+ ¡x 2 ¡+ ¡x 2 ¡+ ¡y 3 ¡+ ¡x 4 ¡+ ¡y 5 ¡+ ¡y 5 ¡

  17. Memoiza#on ¡

  18. Produced ¡Images ¡

  19. Produced ¡Images ¡

  20. Produced ¡Images ¡

  21. Produced ¡Images ¡

  22. Evalua#on ¡

  23. Summary ¡ • Lens ¡flares ¡are ¡hard ¡to ¡compute! ¡ – Can ¡make ¡improvements ¡by ¡dropping ¡terms ¡and ¡ memoizing ¡data ¡ Future ¡Work ¡ • Adjust ¡coefficients ¡in ¡the ¡polynomial ¡to ¡beger ¡ meet ¡a ¡ground ¡truth ¡image. ¡ – See ¡if ¡we ¡can ¡recover ¡images ¡that ¡look ¡like ¡a ¡lens ¡ flare ¡but ¡are ¡not ¡exact. ¡

  24. Other ¡Efforts ¡ • Fixed ¡exponen#a#on ¡implementa#on ¡ • Removed ¡terms ¡just ¡by ¡their ¡coefficients ¡ • Horner’s ¡method ¡ – ¡19 ¡+ ¡7x ¡– ¡4x 2 ¡+ ¡6x 3 ¡ ((((0)x ¡+ ¡6)x ¡– ¡4)x ¡+ ¡7)x ¡– ¡19 ¡

  25. Experimental ¡Setup ¡ • Degree ¡3 ¡polynomials ¡ • Achroma#c ¡Lens ¡System ¡ • Paths ¡consis#ng ¡of ¡2 ¡and ¡4 ¡ reflec#ons ¡ • Using ¡Polynomial ¡Op#cs ¡ Library ¡ ¡ "Why ¡Use ¡an ¡Achroma#c ¡Lens?" ¡Edmund ¡Op#cs. ¡Edmund ¡ Op#cs ¡Inc., ¡2014. ¡Web. ¡3 ¡May ¡2015. ¡ ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend