NVlabs / nvdiffrec

Official code for the CVPR 2022 (oral) paper "Extracting Triangular 3D Models, Materials, and Lighting From Images".
Other
2.09k stars 222 forks source link

is there any way to use multi lights? #149

Closed lcc815 closed 6 months ago

lcc815 commented 7 months ago

Hi dear authors,

for complex scenes, there may be multi lights. how should I change the code to fit such cases?

Thanks,

jmunkberg commented 7 months ago

Hello @lcc815 ,

We currently support one unique HDR probe (which can represent quite complex lighting). We assume that the lighting setup is constant for all images in the dataset.

If you are asking for multiple lighting scenarios for one scene, that is not currently supported, but an extension to optimize N HDR probes for a setup with M images, where N < M could likely work. For example, an object captured in two different lighting scenarios, and you know, for each image, which of the two lighting setup was used.

lcc815 commented 6 months ago

thnaks, I will try it.