/SphericalHarmonicsLighting

spherical harmonics coefficients sampler & viewer

Primary LanguageC++

Spherical Harmonics Lighting

spherical harmonics lighting toolkit, including:

  • sh_sampler: sample environment map to spherical harmonics coefficients
  • sh_lighting: spherical harmonics lighting visualization tool

usage

Usage:
sh_sampler posx negx posy negy posz negz sh_coef.txt
sh_lighting posx negx posy negy posz negz sh_coef.txt objfile

or use the scrips: scrips/run.bat

sample

samples
samples