| CPC G06T 15/06 (2013.01) [G06T 2210/52 (2013.01)] | 20 Claims |

|
2. A method comprising:
forming a first accumulation of importance values of pixels in an image for which sampling by a ray tracer is not clamped (non-clamped pixels);
forming a second accumulation of waste importance of pixels in the image for which sampling by the ray tracer is clamped (clamped pixels);
applying the first accumulation and the second accumulation to set an average sample count for pixels in the image by forming a first ratio of (a) a sum of the first accumulation and the second accumulation, and (b) a total importance of the non-clamped pixels and the clamped pixels;
multiplying the first ratio by a total number of the pixels in the image; and
generating with the ray tracer a number of samples for each pixel of the plurality of pixels by applying the average sample count to a per-pixel importance setting.
|