"Render Animation" long update times between Frames

Forums: "Render Animation" long update times between Frames
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

"Render Animation" long update times between Frames

Postby Silverwing » Wed Dec 20, 2023 4:51 pm

Silverwing Wed Dec 20, 2023 4:51 pm
Hey there.
I come from Cinema 4D and lately also work with Blender.
In the last couple of weeks I have set up a blender Octane Scene.

Everything went quite well until I wanted to do the first animation test renderings.
When I have the "Viewport Shading" / Live rendering running Octane takes about 10 to 15 Sec to switch between frames (Until it updated)
In that time the status reads "Updating Shaders"

When I hit "Render Animation" Blender loads the scene and sends it to the server, then renders the frame.
After that it seems like it does not update the scene but renders the next frame completely from scratch. It takes about 2 minutes in between frames until the next frame renders. The rendering of the actual frame then only takes 10 seconds.

I have a couple of rather complex materials in the scene that use triplanar mapping as well as color attributes from the objects.
Also some image sequences as screen textures.

I know from C4D that the initial frame can take quite long to load on more complex scenes but then I would expect something along the lines I am getting in the "Viewport Shading" / Live rendering with only 10-15 seconds update time in between frames.

I have left the meshes to "Scatter / Movable" and the render server as "As Is"
Is there any other setting I can try to get fast animation renders?

Some Details:
When loading the scene, no matter if "Viewport Shading" / Live rendering, while preparing the RAM of the machine goes from 18GB (this is how much the scene uses up in Blender on it´s own without rendering. The computer Idle was around 12GB of Ram Usage) to about 30GB then comes down to around 19 GB when it starts rendering.
Moving around objects, jumping between frames ect. does not cause a full reload only the object that was touched is quickly updated.

When rendering the whole animation with "Render Animation" Octane goes through this low to high to low Ram usage cycle every frame.
While this it´s showing "Render Target Evaluation on Server" and most of the time "Waiting for Image"

I will gladly provide the scene to the developer for testing. If you are interested, please DM me or give me an email address where I can send a google drive link with the packed blender file.

Cheers, thanks in advance and Happy Holidays to all of you!
Raphael
Attachments
Screenshot 2023-12-20 174401.png
Preparing the 2nd frame of an animation. Note the high memory usage. This repeats for every frame.
Screenshot 2023-12-20 171722.png
Loading the scene in the "Viewport Shading" / Live rendering
WIN 10 PRO 64 | ASUS X99-E WS | 3 X GTX 1080Ti | i7 5960X 8X 3,33GHz | 64GB RAM
User avatar
Silverwing
Licensed Customer
Licensed Customer
 
Posts: 287
Joined: Wed Jun 15, 2011 8:36 pm
Location: Ludwigsburg Germany

Re: "Render Animation" long update times between Frames

Postby linograndiotoy » Wed Dec 20, 2023 4:53 pm

linograndiotoy Wed Dec 20, 2023 4:53 pm
It looks like the addon version is showing this issue. The developers are investigating.

I've noticed that some time ago while rendering a scene.

Solving that in the addon version is not trivial.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1157
Joined: Thu Feb 01, 2018 7:10 pm

Re: "Render Animation" long update times between Frames

Postby Silverwing » Wed Dec 20, 2023 5:16 pm

Silverwing Wed Dec 20, 2023 5:16 pm
Oh, that was a very fast answer thank you!

Actually this is not the addon version but the "OctaneRender™ for Blender 2023.1.1 - 28.6 [STABLE]"
If you say that this is occuring in the addon version. Maybe there is hope that this might be fixable in the Blender Octane built?

Cheers and thank you for your fast answer!
WIN 10 PRO 64 | ASUS X99-E WS | 3 X GTX 1080Ti | i7 5960X 8X 3,33GHz | 64GB RAM
User avatar
Silverwing
Licensed Customer
Licensed Customer
 
Posts: 287
Joined: Wed Jun 15, 2011 8:36 pm
Location: Ludwigsburg Germany

Re: "Render Animation" long update times between Frames

Postby linograndiotoy » Wed Dec 20, 2023 5:25 pm

linograndiotoy Wed Dec 20, 2023 5:25 pm
You're welcome!

Actually I'm not experiencing any slow down in the custom build version.

It would be great if you could share a scene showing it.

Thanks!
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1157
Joined: Thu Feb 01, 2018 7:10 pm

Re: "Render Animation" long update times between Frames

Postby Silverwing » Wed Dec 20, 2023 5:29 pm

Silverwing Wed Dec 20, 2023 5:29 pm
Oh nice.

as I said above. I will gladly do. I will DM you with the DL link for the scene!
WIN 10 PRO 64 | ASUS X99-E WS | 3 X GTX 1080Ti | i7 5960X 8X 3,33GHz | 64GB RAM
User avatar
Silverwing
Licensed Customer
Licensed Customer
 
Posts: 287
Joined: Wed Jun 15, 2011 8:36 pm
Location: Ludwigsburg Germany

Re: "Render Animation" long update times between Frames

Postby linograndiotoy » Thu Dec 21, 2023 10:20 am

linograndiotoy Thu Dec 21, 2023 10:20 am
My feeling is that using Out of Core could really slow down the render in this specific case.

What about the OLS projection nodes you're using in this scene? I wonder if those can also be the cause of the slow down.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1157
Joined: Thu Feb 01, 2018 7:10 pm

Re: "Render Animation" long update times between Frames

Postby Silverwing » Thu Dec 21, 2023 11:50 am

Silverwing Thu Dec 21, 2023 11:50 am
linograndiotoy wrote:My feeling is that using Out of Core could really slow down the render in this specific case.

What about the OLS projection nodes you're using in this scene? I wonder if those can also be the cause of the slow down.


Thank you very much for having a look.
I am actually not going out of core on my system.
Also if you only enable a couple of panels it´s the same behavior (So there is less memory used, less load on the system). It prepares, then renders one frame, then starts preparing again.

The OSL Scripts I wrote are there to offset the dirt / grunge patterns for all the render instances. So you get a different look for the small objects and don´t have the same dirt pattern on every knob for example.

Yesterday I did some research and deleted the OSL scripts as well as the Color Attributs of the shader. But unfortunately no luck there.
Right now I am a bit out of ideas what can cause it. Maybe triplanar?

As I mentioned briefly yesterday. I come from C4D. And basically use the same technique there (with Vertex Maps and OSL Scripts). So I was surprised to find those long reload times between frames with Blender.

Maybe you can have a deeper look at the file and find the culprit that makes it take so long to update.
Cheers and thanks for your ongoing Development.

P.s. yesterday I tried the addon too. So I converted the scene from Blender Octane to Blende 4 with addon. (Exported it with Octane Blender)
The "Viewport Shading" / Live rendering felt more snappy to be honest. I could scrub though the animation with barely any lag. Though export was the same.
The Color Vertex Attributes seem not to work there also.
I could get it to work in the "Viewport Shading" / Live rendering by going to the different meshes and clicking on the "Convex" and Concave" attributes. This seems to make them load into the shader.

Unfortunately it resets after restarting the render or rendering out a final animation. So it renders without Vertex Attributes.
Of course the same problem presists in the addon version (as you mentioned before) About 2 min preperation time for each frame.

I would be so super thankful if this could somehow be avoided and the renderer would only update the delta between the frames (like it does in "Viewport Shading" / Live rendering)
I think this would be a huge step forward in Usability!

Lastly I also tried exporting the scene as ORBX.
But also no luck there. Once started there is progress. But when it reaches 100% Nothing shows up in the save location.

Cheers and again thanks for all your effort!
WIN 10 PRO 64 | ASUS X99-E WS | 3 X GTX 1080Ti | i7 5960X 8X 3,33GHz | 64GB RAM
User avatar
Silverwing
Licensed Customer
Licensed Customer
 
Posts: 287
Joined: Wed Jun 15, 2011 8:36 pm
Location: Ludwigsburg Germany

Re: "Render Animation" long update times between Frames

Postby Andreas_Resch » Thu Dec 21, 2023 12:31 pm

Andreas_Resch Thu Dec 21, 2023 12:31 pm
Great to see you dabble into Blender as well, Raphael :)

Maybe this is linked to the issue that compiling scenes takes incredibly long compared to V27.16. The scenes are compiled every times I start the preview or final rendering. In a direct comparison V28.x take 8 times longer than 27.16 (32s compares to 4s). This is one of the bigger issues right now. Interestingly enough I also use OSL scripts and Triplanar mapping a lot. But the differences already occur in the simplest of scenes with standard materials.

I also hope there is a fix soon.
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am

Re: "Render Animation" long update times between Frames

Postby Silverwing » Thu Dec 21, 2023 3:55 pm

Silverwing Thu Dec 21, 2023 3:55 pm
Andreas_Resch wrote:Great to see you dabble into Blender as well, Raphael :)

Maybe this is linked to the issue that compiling scenes takes incredibly long compared to V27.16. The scenes are compiled every times I start the preview or final rendering. In a direct comparison V28.x take 8 times longer than 27.16 (32s compares to 4s). This is one of the bigger issues right now. Interestingly enough I also use OSL scripts and Triplanar mapping a lot. But the differences already occur in the simplest of scenes with standard materials.

I also hope there is a fix soon.


Hey Andreas,

what a joy seeing you here!

Thank you for sharing your thoughts. That´s a really interesting observation!
Not sure if the Octane Version is backwards compatible. But I might now install V27.16 and give it a try. If the export times is indeed 8 times faster there, then it actually might be bearable. 15sec between frames instead of 2 min sounds OK!
I will try that now and report back!
WIN 10 PRO 64 | ASUS X99-E WS | 3 X GTX 1080Ti | i7 5960X 8X 3,33GHz | 64GB RAM
User avatar
Silverwing
Licensed Customer
Licensed Customer
 
Posts: 287
Joined: Wed Jun 15, 2011 8:36 pm
Location: Ludwigsburg Germany

Re: "Render Animation" long update times between Frames

Postby Andreas_Resch » Thu Dec 21, 2023 3:58 pm

Andreas_Resch Thu Dec 21, 2023 3:58 pm
You might encounter various compatibility issues - especially in the materials. There were some node changes in V28.x and I don't think they can be interpreted correctly in 27.X. But I'm curious to see what your findings are.
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am
Next

Return to Blender


Who is online

Users browsing this forum: Bing [Bot] and 30 guests

Sat Apr 27, 2024 10:19 pm [ UTC ]