Render script ties up Cinema till done.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/07/2012 at 15:38, xxxxxxxx wrote:

    My render script, which renders out frames with the object names as image names, is tying up Cinema till it is done rendering.  Just to be sure, is it possible to work with Cinema while a script is in progress rendering?  I've tried using time.sleep to give the computer a break while rendering, but I still can't work with Cinema till the script is done.  I'm using a Mac.  Is there a solution?

    isRend = c4d.CheckIsRunning(c4d.CHECKISRUNNING_EXTERNALRENDERING)
    while isRend == 1:
        time.sleep(3)
        isRend = c4d.CheckIsRunning(c4d.CHECKISRUNNING_EXTERNALRENDERING)   
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/08/2012 at 13:57, xxxxxxxx wrote:

    For such purposes please use a plugin. Scripts are executed in the main-thread (as the gui is) and therefore will block c4d until its executed.

    Cheers, Sebastian


Log in to reply