NVIDIAGameWorks / kaolin

A PyTorch Library for Accelerating 3D Deep Learning Research
Apache License 2.0
4.49k stars 562 forks source link

Qusetion about spherical harmonic parameters of DIB-R #306

Closed zomkey closed 3 months ago

zomkey commented 4 years ago

Hi,thanks for your work! When I use DIB-R algorithm to render, I found the spherical harmonic parameters is differenet from original paper (https://cseweb.ucsd.edu/~ravir/papers/envmap/envmap.pdf ). I want to ask whether it is better to change the spherical harmonic parameters as DIB-R/frag_shtex.py, and does this change get better lighting result?

shumash commented 3 months ago

Sorry this was never addressed. Closing old bug, no longer relevant to the library.

Check out new differentiable lighting additions in these tutorials:

You might also be interested in a general differentiable shader using Spherical Gaussian lighting: