Is there a way to get all values generated for a pixel by the samples per pixel argument? #263
-
My understanding is that multiple samples are generated for each pixel (by spp argument) and aggregated at the end. I want to store all these values in an array without reducing them to the final value. Can you please tell me the way to do it? I tried to create a custom Film, but the issue in #166 (comment) arises. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There was a missing constructor in the trampoline bindings for Your understanding is correct, samples are accumulated/aggregated. The box filter will guarantee that your samples are not weighted across multiple (neighboring) pixels. A easier implementation would be to ignore the existing |
Beta Was this translation helpful? Give feedback.
There was a missing constructor in the trampoline bindings for
Film
plugins. It will be fixed in the next release, it's onmaster
now: 69f39ce. This should fix themissing constructor
error you were seeing.Your understanding is correct, samples are accumulated/aggregated. The box filter will guarantee that your samples are not weighted across multiple (neighboring) pixels.
The proper implementation of what you're trying to achieve would indeed be a
Film
. This would also maybe require a derivedImageBlock
class since that is where the accumulation actually happens. But this would require a lot of changes in the C++ part of the code.A easier implementation would be to ignore the existing
m…