Page 1 of 1

Setting the mxi intensity within 3ds max render dialogue

Posted: Thu Jun 24, 2010 12:19 am
by Jesper Pedersen
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?

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Thu Jun 24, 2010 8:59 am
by Mihnea Balta
Currently there's no way to do this, but we'll add a control for that in the next build of the plug-in.

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Thu Jun 24, 2010 12:17 pm
by Jesper Pedersen
Mihnea,

thanks, that would be absolutely essential for us if we are to be able to create interior animations.
Thanks for the reply.

Jesper

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Thu Jun 24, 2010 3:46 pm
by Mihnea Balta
But can't you increase the film ISO instead? Tripling the ISO will have the same effect as tripling the MXI intensity, and you can already do that from inside the plug-in.

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Fri Jun 25, 2010 1:21 pm
by Mihai
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 

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Fri Jun 25, 2010 1:32 pm
by Mihnea Balta
He's referring to the "MXI Intensity" slider in the Maxwell Render UI (under the tone mapping controls), not the intensity control for MXI emitters. :) Emitter intensity can already be controlled from the plug-in.

Re: Setting the mxi intensity within 3ds max render dialogue

Posted: Fri Jun 25, 2010 1:57 pm
by Mihai
Ah :P

And you can also control mxi intensity via scripting :D

But yes, changing the ISO will have the same effect. The MXI intensity param in Maxwell is ment for adjusting any image you want to turn into an MXI emitter.