nerfstudio
nerfstudio copied to clipboard
Fix SH
I think there is a bug in the SH pytorch impl. This PR should fix it. Please take a look to see if it's correct. I took the correct implementation from ingp.
Just to cite Inria gaussian splatting's implenentation: https://github.com/graphdeco-inria/gaussian-splatting/blob/main/utils/sh_utils.py
Inria’s impl us also correct. The ingp’s one, however, supports more degrees.
Just want to revisit this topic: Shall we remove SH evaluation in nerfstudio, and use the one from gsplat library? So it minimize our maintenance effort. @kerrj