Skip to content

Conversation

@erichlof
Copy link
Contributor

@erichlof erichlof commented Jan 12, 2017

Hi Sam,
Everything works great, but when the camera is in motion, there are rendering artifacts due to the stale nature of the random seeds on every ray bounce. This PR alleviates that by randomly adding to the seeds themselves on every bounce.

Now when the camera is in motion, the noise/variance has no distracting patterns and has a gentle soft motion (at least on my laptop, needs to be verified across other devices). I tried many different updating strategies but this one seems to perform the best so far. It might be the case that there are better updating algorithms out there for randomness in OpenCL, but this should be operable in the meantime.

Thanks again for your posts!
-Erich
P.S. I can go from 4 samples (your default) down to 2 samples and the noise still looks good. At 1 sample however, the curtains are pulled back and the math/sin nature of the noise is revealed. For raw performance reasons, I might need my apps to run at 1 sample per pixel, so in the future I'll see if there are any magic bullets for this noise pattern issue. Please let me know if you've seen some other solutions out there.

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