Turning on mental ray diagnostics from the command line


In Softimage, you can enable the diagnostics in the Render Manager, by going to the Diagnostics tab and selecting the Information and Progress check boxes. If you’re working on the command-line with xsibatch, you may not want to start up Softimage just to select those check boxes. So, here’s how to do from the command line: just add -script and -verbose “on” to the xsibatch command line.


xsibatch -render "\\server\project\Scenes\Example.scn" -frames 1 -script verbosity.js -verbose "on"

where verbosity.js is a script that looks like this:

// Information and Progress
Dictionary.GetObject("Passes.mentalray").Parameters("VerbosityLevel").Value = 60;

If you set the VerbosityLevel to 252, you will get the Basic and Detailed Debug log messages too.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s