
© Next Limit Technologies 2010
Maxwell Render 2.5 User Manual
Chapter 17. Appendix IV. Scripting References | 151
var inputFolder = “C:\input”;
var outputFolder = “C:\output”;
var engineVersion = Maxwell.getEngineVersion();
var mxsCount = FileManager.getNumberOfFilesInBranch( inputFolder, “*.mxs” );
var mxsList = FileManager.getFilesInBranch( inputFolder, “*.mxs” );
// Connect event
RenderEvents[“renderFinished()”].connect(renderHasFinished);
var i = 0;
var isRendering = 0;
for( i = 0; i < mxsCount; i++ )
{
renderScene();
while( 1 )
{
if( isRendering == 0 )
{
break;
}
}
}
//////////////////////////////////////////////////////////////////
function renderScene()
17.03 Examples
17.03.01 Render queue example
// This script gets all the MXS les located in the folder “input” and its children
// Opens them, changes their SL and resolution and launches each render
// The output of all the images is stored in the folder “output”
// The script also shows how to handle render events
Comentários a estes Manuais