Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CousinRicky opened this issue Nov 7, 2024 · 1 comment
Open

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

CousinRicky opened this issue Nov 7, 2024 · 1 comment
Labels
bug? reported as bug; triage pending

Comments

@CousinRicky
Copy link

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.

@CousinRicky CousinRicky added the bug? reported as bug; triage pending label Nov 7, 2024
@CousinRicky
Copy link
Author

See thread Photons are broken with true inverse squared lighting in povray.beta-test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? reported as bug; triage pending
Projects
None yet
Development

No branches or pull requests

1 participant