All posts related to V2
#325531
I am trying to send an animation sequence to render from 3ds max and i need the MXI intensity to be set to 3. For high res still images I can easily do this (when the maxwell window opens to run the render, I just type in 3 instead of the default 1) but obviously this is not practical when I have several hundred frames to render.
Is there a way of settingthis value within 3ds max before sending the render job or is there a way to change teh default value tothe required value?
#325590
If you're using multi light you can now also use scripting to change the intensity of an emitter in a sequence of mxis.
I slightly modified the included "mxi batch processing" script:

You just need to change the input/output folders and set which of the emitters in the scene you want to modify. The multilight.setLightIntensity works with two parameters. The first specifies the emitter, starting at 0. So the first emitter slider in ML would be 0. The second specifies the intensity you want. The script will open each mxi in the folder, process it and save it. You can save them to a different folder if you want.
Code: Select all
// inputFolder is the folder where you have all your MXIs
var inputFolder = "C:\Documents and Settings\Mihai\Desktop\scripting";

// Output folder is the folder where you will save all the processed MXI's
var outputFolder = "C:\Documents and Settings\Mihai\Desktop\scripting";

// Let's get all the MXIs of the input folder and store them in a list called "mxiList"
var mxiCount = FileManager.getNumberOfFilesInBranch( inputFolder, "*.mxi" );
var mxiList = FileManager.getFilesInBranch( inputFolder, "*.mxi" );

for( i = 0; i < mxiCount; i++ )
{
  // Traverse MXI's and open them
  var mxiFile = mxiList[i];
  Maxwell.openMxi( mxiFile );

Multilight.setLightIntensity(0,200);

  var finalMxiPath = outputFolder + "/" + FileManager.getFileName( mxiFile ) + ".mxi";
  Maxwell.saveMxi( finalMxiPath );

} // End traverse files 
Maxwell Rhino 5.2.6.8 plugin with macOS Tahoe 26

Grazie Ferdinando, prima di aggiornare il Tahoe 26[…]