Page 1 of 2

Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 5:34 pm
by Aleksei
Hello.
I stumbled upon a problem:
The scene containes X-Particle system. I'm rendering a sequence of frames. All frames visually are almost equal. But during render every new frame renders approx. 10–15 sec longer than the previous. You can see it here:

Image

When I start rendering (from any frame in the seuence) the render time takes around 1 min per 1st frame. And then increases. I must note that the visualization process (I mean, render of increasing samples) always remain the same — around 20 sec per frame. But what's increasing in renderer is this:

Image

The "Start Rendering" process becomes longer from frame to frame.
My X-Particles simulations are cached. Also I have 2 Octane object tags on each emitter to be able to render different geometry for each of the emitters:

Image

What may cause this problem or what I'm doing wrong?

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 7:07 pm
by aoktar
Motion blur calculation would take longer when cached particle counts increased. Becase it will search ids of particles in array.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 7:28 pm
by Aleksei
But I have approximately constant number of particles in the sequence that I'm rendering. Around 930 000 particles per frame.
As I said all the frames are the same prom the point of view of scene complexity. I have xpKill modifier wich kills old particles at some point. And I start rendering not from frame 0, but from the frame when the amount of particles stops growing.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 7:47 pm
by aoktar
Aleksei wrote:But I have approximately constant number of particles in the sequence that I'm rendering. Around 930 000 particles per frame.
As I said all the frames are the same prom the point of view of scene complexity. I have xpKill modifier wich kills old particles at some point. And I start rendering not from frame 0, but from the frame when the amount of particles stops growing.
It's the problem. Because every new particle will get new id. And added to searxh list as new bulk.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 7:52 pm
by Aleksei
hm... now I see. Hope this will be optimized some day.
Big thanks for the answer anyway. Will try to find a workaround.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 8:04 pm
by aoktar
Aleksei wrote:hm... now I see. Hope this will be optimized some day.
Big thanks for the answer anyway. Will try to find a workaround.
It's optimised actually as much as possible. Try to decrease cache frame amounts in mblur from octane objecttag.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Oct 30, 2017 8:19 pm
by Aleksei
Can you show it in screenshot, please. I cannot find this parameter in the tag.

Image

Re: Each frame renders longer than previous. All frames similar.

Posted: Wed Nov 01, 2017 4:53 am
by aoktar
Aleksei wrote:Can you show it in screenshot, please. I cannot find this parameter in the tag.

Image
cameratag->motionblur.

Re: Each frame renders longer than previous. All frames similar.

Posted: Mon Nov 20, 2017 4:02 pm
by Aleksei
Sorry for late reply. No, decreasing the frame amount in motion blur didn't help.

Re: Each frame renders longer than previous. All frames similar.

Posted: Wed Jul 03, 2019 3:03 pm
by nemcekmiki
Hi, Is there any solution for this issue? Decreasing M.blur caches doesn't do anything. I am forced to stop render after each couple of frames and resend again, that's actually much faster than leaving it increasing render time each frame.

Thanks