Add Assert()s for infinite values when evaluating SH functions; may happen when lmax is > 28 or so. Added a check of lmax's value that should exit with a Severe() error before any of them hit, however.
Add Assert()s for infinite values when evaluating SH functions; may happen when lmax is > 28 or so.
Added a check of lmax's value that should exit with a Severe() error before any of them hit, however.
patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin