OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

Track progress of a frame in Cue Gui

Open fabriciochamon opened this issue 2 years ago • 3 comments

I'm trying to find a way to report current frame progress to cueGui (using Pixar's Renderman in this case). I can run the render program with an argument that would print simple render stats per line to terminal, in the form of:

5% 10% 15% ....

Currently Open Cue logs will not display any of that progress until the program ends completely (renders the whole frame), so I can't really track progress for heavy frames.

It would be nice to have a way to make open cue read and report that "live", even thou the program has not finished processing yet. If this is possible at all, where should I customize code? can it print to a progress bar inside cuegui, or should I rely on text logs only ?

thank you.

fabriciochamon avatar Jul 19 '22 12:07 fabriciochamon

Hi Fabricio,

Opencue is not able to read stats from Renderman at the moment. You could add a new column to the Frame table similar to the Progress column on the Layer table that would read your log on a schedule and update the state. This could be added to FrameMonitorTree.py

A suggestion is to implement it as a regular expression, this way it could be customized to work with different tools that log progress similarly.

DiegoTavares avatar Jul 27 '22 16:07 DiegoTavares

Hi Diego, ah nice that's a great idea actually. I didn't know we could customize the frame table, would that auto propagate to the cuegui interface ? I'll have it a go. Thanks for the suggestion.

Em qua., 27 de jul. de 2022 às 13:45, Diego Tavares da Silva < @.***> escreveu:

Hi Fabricio,

Opencue is not able to read stats from Renderman at the moment. You could add a new column to the Frame table similar to the Progress column on the Layer table that would read your log on a schedule and update the state. This could be added to FrameMonitorTree.py

A suggestion is to implement it as a regular expression, this way it could be customized to work with different tools that log progress similarly.

— Reply to this email directly, view it on GitHub https://github.com/AcademySoftwareFoundation/OpenCue/issues/1175#issuecomment-1197006282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVAAOISAMNEYY6YV6RC2ELVWFRSFANCNFSM537YXFZQ . You are receiving this because you authored the thread.Message ID: @.***>

fabriciochamon avatar Aug 02 '22 22:08 fabriciochamon