spherical harmonic lighting
play

Spherical Harmonic Lighting Petras Sukys, Simon Ivarsson Chalmers - PowerPoint PPT Presentation

Spherical Harmonic Lighting Petras Sukys, Simon Ivarsson Chalmers University of Technology 2013 Hello world Recap on maths Spherical Harmonics SH at work Some demos/examples Recap on maths Almighty lighting equation Recap


  1. Spherical Harmonic Lighting Petras Sukys, Simon Ivarsson Chalmers University of Technology 2013

  2. Hello world ● Recap on maths ● Spherical Harmonics ● SH at work ● Some demos/examples

  3. Recap on maths Almighty lighting equation

  4. Recap on maths Integrating over a hemisphere...

  5. Recap on maths Monte Carlo integration (almost as mighty) Expected value of a random function: Law of Large Numbers:

  6. Recap on maths Monte Carlo integration

  7. Recap on maths Approx. and basis functions Signal and approximation Basis function http://en.wikibooks.org/wiki/Control_Systems/Sampled_Data_Systems

  8. Recap on maths Approx. and basis functions Calculate coefficients Reconstruct by scaling basis functions with coefficients... ... and sum up:

  9. Some more maths Orthogonal basis function

  10. Some more maths Associated Legendre Polynomials

  11. Some more maths Assoc. Legendre Polynomials l - band index, m - polynomial number

  12. Spherical Harmonics Under the hood m is Where K l normalisation factor

  13. Spherical Harmonics The Looks http://en.wikipedia. org/wiki/Spherical_harmonics

  14. Spherical Harmonics The Use ● Integration of product = multiplication of the coefficients ● Have another light source or shadow caster? Almost as easy as two matrix multiplication. ● Want to rotate light source function? A bit trickier, but still easy with SH!

  15. Diffuse Unshadowed Transfer

  16. Diffuse Unshadowed Transfer

  17. Shadowed Diffuse Transfer

  18. Shadowed Diffuse Transfer

  19. Shadowed Diffuse Transfer

  20. Diffuse Interreflected Transfer

  21. Diffuse Interreflected Transfer

  22. Diffuse Interreflected Transfer

  23. Other Light Sources Overcast Clear sky Partly Cloudy

  24. Other Light Sources Artificial HDR Image

  25. Demo

  26. Questions?

Recommend


More recommend