Le_Forgeron <jgr### [at] freefr> wrote:
> The final stage of that evolution would be a more complex code than
> simply requesting a block size of 1.
>
> The problem with sampling is just that: samples. It won't protect you of
> pathological scenes were the expensive spots are just near the sampling
> position.
No, but it is actually possible to do this: Instead of rendering blocks from
left-top to bottom-right row by row, one can render a block in four
subdivisions. Should a block stall it would then be possible to subdivide and
split off the remaining subblocks. However, this requires more communication
than just an atomic counter to find blocks because it requires a queue of such
blocks (through that queue would need to be just threads*3 (or *15 for two
allowed subdivsisions) in depth.
Thorsten
Post a reply to this message
|