Skip to content

Global Illumination #80

@Negrini085

Description

@Negrini085

This pull request aims to enhance our path tracer by introducing a direct light sampling. The current approach is to treat lights as ObjectHandlers with a specific flag. In this way we correctly calculate if an object is in direct line with a light when traversing the Scene.tree.

The work that needs to be done:

  • Surface Sampling: how to importance sampling for surface lights.
  • Choose and implement heuristic for weighting multiple lights: emitted power, surface/distance...
  • Update example of Cornell box with same renderer parameters.

Some resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions