Announcement

Collapse
No announcement yet.

Bucket renderer subdivision and resumable rendering query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bucket renderer subdivision and resumable rendering query

    I've been working on a project involving outputting a lot of high-rez stills recently. I'm mostly rendering by hand into the VFB, and have been running into the usual problem of certain buckets taking forever to resolve at the end of the render. Sometimes it can take almost as long for a few of the final buckets to finish as it's taken the whole rest of the image.

    One of my workarounds for this is to use resumable rendering, and once the final set of buckets have been picked up and bucket subdivision starts, I will kill the render to force Vray to keep using as many CPUs as possible. I've noticed that problem areas which are subdivided often resolve exponentially faster when broken up like this.

    This mostly works fine, but I'm mystified as to how and when Vray decides to subdivide, beyond obviously the point at which there are fewer unrendered buckets than there are CPUs available. In most cases, once subdivision has started, killing and restarting the render will result in all or most of the unrendered tiles being subdivided to the first level. However, sometimes this doesn't seem to happen -- each CPU will again just be allocated a 64x64 tile (this is frustrating). Other times I've seen strange mixtures of all three bucket sizes pop back into the VFB.

    Is the existing tile size at the time the render is aborted written into the .vrimg file in some way? Or, otherwise what is the reasoning used by Vray in allocating a tile size when restarting a resumed render? Is this simply an image tessellation issue?

  • #2
    This may not be 100% correct, but since V-Ray knows the number of buckets in advance, it reaches a point where it knows that it has less than the number of CPU cores remaining and splits the remaining ones. This happens a few times over until a very small bucket size is reached.
    The resumable rendering approach is very clever!

    Recently, we've been making some progress on getting the stuck buckets to split too by restarting them with smaller buckets, but also re-using the samples that have already been taken before restarting them. This new approach utilizes all cores at 100% for the entire rendering, which is very promising and we hope to have it in the builds soon.
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment


    • #3
      Originally posted by yolov View Post

      Recently, we've been making some progress on getting the stuck buckets to split too by restarting them with smaller buckets, but also re-using the samples that have already been taken before restarting them. This new approach utilizes all cores at 100% for the entire rendering, which is very promising and we hope to have it in the builds soon.
      This is great news! So I won't have to sit and watch renders as much, waiting to hit Esc as soon as I see tiles start to subdivide

      Comment


      • #4
        Originally posted by SonyBoy View Post

        This is great news! So I won't have to sit and watch renders as much, waiting to hit Esc as soon as I see tiles start to subdivide
        Hopefully not anymore, once this change is stable and tested enough so it's made available. Fingers crossed.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment

        Working...
        X