r/GraphicsProgramming • • Oct 19 '26

Article Demystifying Spherical Harmonics: An Optimization Approach

https://andrew-helmer.github.io/demystifying-spherical-harmonics/
97 Upvotes

14 comments sorted by

View all comments

3

u/SV-97 Oct 19 '26

Is this "L1" terminology really something that some people use? If so that's highly unfortunate because there's an entirely different thing called L1 Regression, L1 Approximation etc. (it's just regression etc. using the L1 norm)

7

u/AndrewHelmer Oct 19 '26

Yes indeed it is, I think it's the most common terminology in the graphics community? Though a lot of people and code use SH2 (which is L1 SH), SH3, etc. In practice I haven't found it too confusing, it's usually pretty obvious in context, but there was a situation where I did L2-norm regularization for a regression to calculate L1 SH coefficients, and I tried to make sure to write it out fully everywhere.

2

u/SV-97 Oct 19 '26

Interesting / curious. Thanks! :)

1

u/LehdaRi Oct 20 '26

In those cases you could use the MAD / MSE (mean absolute diff / mean squared error) nomenclature to provide a clear differentiation between the two.