Closed
Description
By replacing the directlighting
integrator (using default values) within the Cornell Box scene we get:
On the C++ side this is handled in RenderOptions::MakeIntegrator()
:
Integrator *RenderOptions::MakeIntegrator() const {
...
if (IntegratorName == "whitted")
integrator = CreateWhittedIntegrator(IntegratorParams, sampler, camera);
...
else if (IntegratorName == "directlighting")
integrator =
CreateDirectLightingIntegrator(IntegratorParams, sampler, camera);
...
} else if (IntegratorName == "ambientocclusion") {
integrator = CreateAOIntegrator(IntegratorParams, sampler, camera);
...
}
...
}