Getting correct progress from stdout in Monitor

Hello there,

I’m trying to solve a little issue we’re having with a custom renderer plugin that outputs a different stdout of its progress than Deadline is taught to parse and present as “xx%” progress in the Monitor.

Now, where can I modify the 3dsmax.py plugin script in Deadline in order to include the specific stdout string and the math necessary for it, in order to parse the correct percentage display to the Monitor?

Thank you in advance, cheers…

While I am not 100% certain how that would be done in 3dsmax, as there is more than just the plugin file, there is all the stuff to do with Lightning, but I do see indicators on line 380 for progress in the plugin file. I might need to consult with coders on this a bit more, though. Is the custom plugin for 3dsmax?

Yes, this is a 3ds Max specific plugin. Thanks, I appretiate it.

Um, bump?

Hello Lukas,

So it looks like after consulting with coworkers, what you would look for in the plugin file is SetProgress, which is likely where you would start to work with the progress updates in Deadline for 3dsmax. This begins about line 1204 in the 6.2 plugin. Hope that helps.

I hadn’t checked this when talking with Dwight, but it looks like using the FumeFX plugin progress as a template on how to do this would be a good starting point.

I couldn’t find anything that should be setting the progress throughout a single frame. I know there is some progress information that comes through via the Lightening plugin, but I can’t find it in the Python code.

If this can wait until the knowledgeable people get back from SIGGRAPH, I should be able to get an answer then.

Thanks for pointing me in the right direction.

I actually didn’t realize Siggy is being in progress, so, of course it’ll wait until everybody is back. :slight_smile: Enjoy the show, guys!