Render image observation with non-Lambertian spectral reflectance with direct illumination (w/o cast shadow).
- RGB_BRDF: The BRDF dimension on the wavelength is 3.
- Spectral BRDF: The BRDF dimension on the wavelength is not limited to 3.
- Surface normal map (In folder
supp_info
) - Lighting direction (In folder
supp_info
) - Spectral BRDF database (In folder
brdf_data
)
pip install pybind11
- Download pybind11 and unzip it to folder
RGB_BRDF
andSpectral_BRDF
python download_bsdf.py --obj_file supp_info/obj_isotropic.txt --out_dir brdf_data/isotropic
python download_bsdf.py --obj_file supp_info/obj_anisotropic.txt --out_dir brdf_data/anisotropic
pip install RGB_BRDF/setup.py
pip install Spectral_BRDF/setup.py
sh demo.bat