POV-Ray : Newsgroups : povray.pov4.discussion.general : Variable Block Size rendering : Re: Variable Block Size rendering Server Time
25 Apr 2024 11:20:11 EDT (-0400)
  Re: Variable Block Size rendering  
From: Thorsten Froehlich
Date: 15 Jun 2018 12:10:00
Message: <web.5b23e4c2f6e26580b819bd0b0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.