Your Ad Here

Rendering with Scripts (XSI -Script)

You can batch render using scripts. You can use the RenderPass command to render the current pass with its current rendering options, or you can use the RenderAllPasses command. Use GetValue and SetValue to work with rendering options.

A good example of a script that includes rendering commands is Rendering.vbs in the DSScripts subdirectory. You can open this file in the script editor to see how it works. To run this script, you must drag it to a toolbar and click Parse in the Add Scripting Command dialog box, because the script contains no global code.

 

The Rendering.vbs is a core system file. Modifying this file may corrupt your installation. Do not edit and save the file.

You can also create a script to render in batch mode from the command line, without invoking the interface. Remember that you must provide an argument to specify which scene file to render, because scripts run from the command line cannot require any interactivity such as selecting a scene. Before running a script in batch mode, you may need to prepare it first.

For information about scripting, batch scripting, and the Script Editor in general, see Scripts in the Customization guide.



SOFTIMAGE|XSI v.6.01     

Return to Softimage XSI Index


Your Ad Here