Skip to content

Conversation

@hchoi405
Copy link

This PR fixes the problem of the wrong radius update (#145).

I added three lines of code that prevent photons to be stored in KD-tree when the surface normal and the incoming direction of a photon is not on the same side.

Below is the results before/after the change
(Breakfast Room from link, iteration=100, photons per iteration=250K)
Before
image

After
image

After the change, it's less noisy due to the larger radius than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant