Automated Baking - Maya SBM exporter

7 replies [Last post]
User offline. Last seen 2 years 27 weeks ago.
Posts: 3

I'm using xNormal to automate baking AO maps and everything is working great except for one thing. The Maya SBM exporter throws a dialog box when it successfully exports a mesh, and it requires the user to manually click the ok button. I can't find a way to disable the dialog box, and it would be really useful if the artist didn't have to baby-sit the computer while it batches through all the scenes.

Is there a way to disable the pop-up dialog? If there isn't, it would be a nice option to add.

 

Thanks

User offline. Last seen 9 hours 14 min ago.
Posts: 603

Nope, there is no option do disable the dialog.

Byw, are you calling it using python?

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 2 years 27 weeks ago.
Posts: 3

I am using python. I'm just using the "file" command, in the "maya.cmds" module.

Normally the "file" command uses the "prompt" flag, a boolean input, to disable prompting dialogs. It's probably just a simple matter of skipping the dialog-box code if that flag is set to false.

User offline. Last seen 9 hours 14 min ago.
Posts: 603

I'll take a look for the next release. Thanks.

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 2 years 16 weeks ago.
Posts: 12

Excellent! I'd love to get this change too. It would be awesome if there would a "total quiet" mode for xnormal in Command line mode too. Currently there's sometimes warnings popping up (like when the mesh is too small)

User offline. Last seen 42 weeks 1 day ago.
Posts: 7

I'm writing an automated pipeline using xNormal 3.17.13 and it appears that there's still a dialog popping up with the following:

"Warning: The highpoly model radius is less than two units(2.0), please scale it a bit up if you get bad results"

Is there any way to run xNormal from the command-line such that this warning (and all or most others) is suppressed?  

/quiet ?

User offline. Last seen 9 hours 14 min ago.
Posts: 603

Strange. That warning should not appear in batch mode. I bet I should take a look to the code then. Thanks for reporting it !

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 42 weeks 1 day ago.
Posts: 7

Thanks, that would be great!  

sorry for the redundant threads:  http://eat3d.com/forum/questions-and-feedback/automated-baking-quiet-non-interactive-mode

 

This Post needs Your Comment!

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?