Skip to main content
Participant
October 10, 2021
Question

Get many iterations of an sbsrender run without restarting each time

  • October 10, 2021
  • 1 reply
  • 79 views

Hi!


I am rendering out 1000 images (will be video frames) from a graph that each have a very slight difference for one single input parameter.  I use pysbs to accomplish this and pass in my input value for each frame and render. 


It appears to me that the entire process finishes up and restarts for every single frame... which seems awfully slow of a way to do this.  It would have to reload my inputs and recalculate everything every time just for one slight change.

 

Is there any way to render a bunch of versions of an output from ONE run of sbsrender without it restarting?  If not, is there any other way to speed this process up?

 

Thanks,

Melissa

This topic has been closed for replies.

1 reply

Community Manager
October 14, 2021

Hello Melissa,
Unfortunately, there is no solution to do that in a single process. SAT's sbsrender is designed to export textures pack with several channels but not a frame sequence. You can parallelize as much as possible the process to save time but it is still a workaround. To help you with that you can take a look at the pysbs.batchtools.sbsrender_render_animate() and its several options.
https://substance3d.adobe.com/documentation/sat/pysbs-python-api/overview/pysbs-batchtools-module#section3

I forgot another solution, is to use Substance Player, if you use the $time variable in your graph expressions the Player can interpret it with the timeline and give you the possibility to export a sequence.  A quick example from youtube:
https://www.youtube.com/watch?v=jhJNGVwWicY

 


Cheers,

Colin