Toggling lights (on/off) #402
Replies: 1 comment 1 reply
-
Hi @waytobehigh, The noise you see here in the first image comes from the emitter sampling routine that doesn't know which light is switched On/Off. It simply picks a light at random to build a light path. In order to achieve this you could implement your own integrator that would be aware of the state of the lights and only select lights that are ON when sampling an emitter. Another (less efficient) option would be to reconstruct the scene only with the lights that are switched ON. But this will have a large overhead. One final suggestion: create a new |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Mitsuba team!
I am trying to reproduce a setup, where an object is captured under different lighting conditions modelled with a set of light sources toggled on/off.
For example, I have 50 lights, 3 of them are "switched on", other 47 have zero radiance. I get the following look:

If I remove the 47 "switched off" lights, I get far less grained pictures, e.g.:

That would be amazing to have a feature to explicitly toggle the light off or just not account for it if it has zero radiance.
Beta Was this translation helpful? Give feedback.
All reactions