Backburner Commands/Instructions

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2012
Backburner Commands/Instructions

Is anyone aware of any documentation on extended commands for backburner?
Is it possible to tell backburner when a task is complete, or when the monitor suspends a task and thus to break what it is doing?

For context:
I'm trying to send some files to the farm to process, and naturally I don't want the farm to submit other tasks to these machines.
Ideally if I suspend the task, I'd like to be able to identify and deal with that.
But more importantly, when my script is complete, I'd like to send back to Monitor that the task is complete, as naturally it is trying to render a task instead.
Or am I just better off telling it to render some arbitrary 1x1 image?
 
  03 March 2012
what kind of script are you trying to run to do what ? if it is a batch script you should look up cmdjob.exe for custom (non-render) jobs. if it is a maxscript you may need to create a very small render and use a pre-render callback
 
  03 March 2012
I've got a whole bunch of scripts.
Currently my flow is this:
Import a 3d file
save .max
cultivate and merge like geometry
split for texel size and unwrap models
bake each texture
apply textures to ambient channel of all models
export .dae
save file

While I can do this all locally ,we're trying to expand this overnight to allow us to queue up dozens of files and have multiple workstations process them.
 
  03 March 2012
You can't save a max file in backburner mode, it needs to be in workstation mode.

For all these things you really need to look at something a bit better than Backburner.... every time I see someone struggling I think back to those days of frustration.... Move to Deadline, you won't look back!
__________________
Maxscript Made Easy...
http://davewortley.wordpress.com/
 
  03 March 2012
you can use cmdjob.exe to send a custom job which launches 3dsmax and your script from the command line so you can still use backburner but it will only work on machines with a licensed copy of max (ie workstations) so you should specify the servers. you may need to send one job for each file or a job list may work for you. check out cmdjob.exe in the help and/or run it in a cmd window to get help there
 
  03 March 2012
Originally Posted by DaveWortley: You can't save a max file in backburner mode, it needs to be in workstation mode.

For all these things you really need to look at something a bit better than Backburner.... every time I see someone struggling I think back to those days of frustration.... Move to Deadline, you won't look back!



Can you automate task submission in Deadline?
I'm just starting to read further into it now, so I apologize if this is in the reference materials.
 
  03 March 2012
The deadline submitter is almost entirely maxscript based and the files are not encypted so you can customise it to however you like, on the forum you'll find a simplified maxscript submitter.
__________________
Maxscript Made Easy...
http://davewortley.wordpress.com/
 
  03 March 2012
Originally Posted by Gravey: you can use cmdjob.exe to send a custom job which launches 3dsmax and your script from the command line so you can still use backburner but it will only work on machines with a licensed copy of max (ie workstations) so you should specify the servers. you may need to send one job for each file or a job list may work for you. check out cmdjob.exe in the help and/or run it in a cmd window to get help there


Are you sure about that ?

I'm sending jobs to the backburner with preRenderScript set to a specific mxs file of mine, and I'm pretty sure that all the mxs command are performed, licensed node or not.
 
  03 March 2012
Originally Posted by MrPingouin: Are you sure about that ?

I'm sending jobs to the backburner with preRenderScript set to a specific mxs file of mine, and I'm pretty sure that all the mxs command are performed, licensed node or not.

What kind of scripts are you processing?

Anything with file I/O beyond the cmd task does NOT process here.
But if I log onto a machine and provide it with the cmdjob itself then it loads Max and processes fine.
But when sending through backburner it comes back as complete but shows no sign of having done the requested work.
 
  03 March 2012
Well, for instance, I've written an alternative to 3dsmax's IFL format, we had some issues over here.

The tool uses the #preRenderEval callback to update a lot of bitmap paths.

As the first tries were not very effective, I also used this #preRenderEval to log what the tool was processing (mesh names, material names, bitmap paths, etc), writing all the output somewhere on the network at each frame (using the 3dsmax "FileStream Values").

But now that I read you again I got it, what you mean by file I/O is not Filestream Values, but 3dsmax's saveMaxFile

Good to know.
 
  03 March 2012
Originally Posted by MrPingouin: Well, for instance, I've written an alternative to 3dsmax's IFL format, we had some issues over here.

The tool uses the #preRenderEval callback to update a lot of bitmap paths.

As the first tries were not very effective, I also used this #preRenderEval to log what the tool was processing (mesh names, material names, bitmap paths, etc), writing all the output somewhere on the network at each frame (using the 3dsmax "FileStream Values").

But now that I read you again I got it, what you mean by file I/O is not Filestream Values, but 3dsmax's saveMaxFile

Good to know.


Thanks for the information, I appreciate some knowledge sharing on the matter.
We've got some custom stuff going on with regards to render to texture, and have purchased a wonderful unwrapping plug-in. We've managed to do everything wonderfully on a local machine, and have only gotten it to work on a "farm" machine when sent to Deadline and forced workstation mode.

So even scripts as simple as "load file A, create box, save as file B" yields no results in headless form.
 
  03 March 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:32 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.