Skip to content

Integrator "ambientocclusion" #10

Closed
@wahn

Description

@wahn

By replacing the directlighting integrator (using default values) within the Cornell Box scene we get:

pbrt_cpp

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);
...
    }
...
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions