Page MenuHome

Cycles: Update remaining time once per second without waiting for a tile change
ClosedPublic

Authored by Lukas Stockner (lukasstockner97) on Jan 19 2017, 12:49 AM.

Details

Summary

Previously, the code would only update the status string if the main status changed.
However, the main status did not include the remaining time, and therefore it wasn't updated until the amount of rendered tiles (which is part of the main status) changed.

This commit therefore makes the BlenderSession remember the time of the last status update and forces a status update if the last one was more than a second ago.

Diff Detail

Repository
rB Blender

Event Timeline

Lukas Stockner (lukasstockner97) retitled this revision from to Cycles: Update remaining time once per second without waiting for a tile change.

While this might work fine for the interface itself, it'll bloat renderfarm nodes logs a lot.

What will make more sense there is to switch message from how much tiles were acquired to how much tiles were finished. This will be a good idea to do for both interface and headless modes.

Lukas Stockner (lukasstockner97) edited edge metadata.

Hm, right, it was too spammy in headless mode - fixed now.

Also, using finished tiles now that they're available is a good point, I added that as well.

This revision was automatically updated to reflect the committed changes.