Getting current render progress or bucket count?



  • On 26/03/2013 at 11:59, xxxxxxxx wrote:

    Hi,

    I'm trying to get the current frame's render progress when running C4D in CLI mode:

    start /b /wait "parentconsole" "C:\PROGRAM FILES\MAXON\CINEMA 4D R13\CINEMA 4D 64 BIT.EXE" -nogui […]
    

    As there is no progress information during rendering (see below) I've checked the SDK and Python API for information on how to get the current render progress or, in absence of render progress, the counts of total and done buckets for the current frame, but I couldn't find anything.

    c4d.CheckIsRunning
    

    couldn't help, either, as it gives no further progress information.
    Any suggestions are appreciated :)

    Console output:

    Starting CINEMA 4D 13.061 ...
    Startup Directory: C:\Program Files\Maxon\CINEMA 4D R13
    Write Directory: C:\Users\Fietie\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0
    Preferences Directory: C:\Users\Fietie\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\prefs
    VrayBridge SetPath Ok
    ------WFCam4D 1.1.6.15------
    Resource Loaded!
    Registered!
     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    VrayForC4D Win64 1.2.6.1 www.vrayforc4d.com
     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    Load Completed!
    COFFEE ERROR!
    (124) Syntax error
    File: CreateVrayProxy.cof
    Line: 60
    Row: ~25
    --------------------------------------------------------------------------------------------
     RockGen 0.92 successfully loaded. Keep on Rocking! :-)
    --------------------------------------------------------------------------------------------
    == NextLimit RealFlow plug-in v2.2.5 ==
    Loading Project: C:	emp\file.c4d
    Rendering frame 1080 at <Mon Mar 25 11:33:15 2013>
    ------WFCam4D 1.1.6.15------
    Optimal frame size for Azimuthal Equidistant camera: (1024, 1024).
    Rendering frame 1081 at <Mon Mar 25 11:33:18 2013>
    […]
    Rendering successful: 53.024
    


  • On 28/03/2013 at 05:20, xxxxxxxx wrote:

    Hi, there is no built-in solution to make this, maybe just with a hack or a workaround.

    Cheers, Seb



  • On 28/03/2013 at 06:49, xxxxxxxx wrote:

    with bucket count you mean finished buckets i guess, not the number of rendering buckets ?
    the number of rendering buckets is just the number of your cores -> multiprocessing.cpu_count()


Log in to reply