Skip to content

Photons do not work properly with true inverse power fading #464

@CousinRicky

Description

@CousinRicky

Photon mapping does not work properly with true inverse power fading. When true inverse power fading was introduced, the photon mapping code was apparently not updated to use the new feature.

POV-Ray version: 3.8.0-beta.2.unofficial (self-compiled)
OS: openSUSE 15.3 GNU/Linux
Hardware: Lenovo Ideapad Slim 7
Architecture: x86-64
CPU: Intel Core i7

See attached example scene file.
invsq_photons.pov.zip

These scene has 4 animation frames.

  1. Frame 1 uses the old light fading formula without photons.
  2. Frame 2 uses true inverse square fading without photons.
  3. Frame 3 uses the old light fading formula with photons.
  4. Frame 4 uses true inverse square fading with photons. Frame 4 should look similar to frame 3; instead, it has hyper-white caustics as if no light fading was used at all.

User wfpokorny has proposed a solution, but I do not know if it has been implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug?reported as bug; triage pending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions