In this section Ill continute to put up some scripts that Ive finished and find stable enough to let you guys have fun with ;) Some of them are just experiments, others might be very useful tools.

MAX 5 : IndigoLink

Please direct question and comments to:
trinisica at (googles email) dot com

Features:
* Links Indigo "into" 3dsmax.
* Write XML, export scenes and launch render with one button. No hand editing required.
* Material Override library that gets appended into .xml file enables side-by-side rendering. No need to 'ruin' a scenes materials to get results from Indigo
* Mesh light support as object modifier
* Full netrendering support with custom listener/server. Launch Indigo master, local slaves and unlimited amount of renderfarm slaves through, virtually ,one button
* Support for large scenes that exceed the 65k 3ds format limit, setup invisible to user.

For 'Manual' Scroll down:

Whats in the Zip file?
tIndigoLink


Indigo Mesh Light
tVersionChecker
The connection itself. Enables you to use Indigo as if its 'in' max. Also supports netrendering on a render farm by clicking one button.
Interface for Indigo's mesh lights.
Not yet enabled

Bugs:
*None known



Progress:
0.1.5 For Indigo 0.4 - Available Now
* Changed some code and XML export to be compatible with Indigo 0.4

0.1.4 For Indigo 0.3 - Available Now
* Added ui/controls for general render settings
* Fixed so that the local slave gets shut down if the 'kill indigo slaves' indidual control is used.
* Fixed 'bug' with capped image height/width

0.1.3 For Indigo 0.3
* Added an option to specify time limit for rendering on the slaves. Enabling it to be used a bit easier in a renderfarm setting

0.1.2 For Indigo 0.3
* Finally fixed the FOV calculation to be spot on..
* Various small fixed and UI addition to bring in line with the latest Indigo 0.3 spec.

0.1.1
* Cooperative network render from max. Includes a tIndigoLink slave and master. Copy the /listener/ folder thats found in the /maxroot/scripts/tIndigoLink/listener/ to the computers you wish to use as slaves/nodes. Edit the .ini file on each machine to point it to the correct indigo-folder. Start the tIL-listener.exe from a dos prompt or double-click in windows.
Edit the /maxroot/scripts/tIndigoLink/tIndigoLink.slaves.ini to add the slaves/nodes.
Start 3ds max on the master. As soon as you press "Render: All Slaves" the job is submitted and all the listed slaves are automatically started.
* Alternative buttons for the cooperatve netrender. Press "Launch All" to launch everything related to rendering over the network. Master, local slaves, network slaves. "Kill All", kills all renders and returns slave's to listening mode.
* Support for "large" scenes, no more 65.000 faces scene limit. Largest Ive tested was about 500.000k.
* Fixed a spelling error in the render settings so they're all supported. Removed the width/height editing of Indigo's .ini file.
* tIndigo Mesh Light-modifier added = Support for mesh lights (Indigo v0.3). Add this to your mesh object to have it acting as a lightsource.
* Improved UI for the mesh lights. Started to add presets so feel free to mail in if you have a few that would be suited.
* Changed the way it exports. Now it will only export whats visible in the scene.
* DOF, nothing changed but clarification - the focus of the camera is calculated automatically. The lens-radius seem to be pretty much in mm so try to set it to 1.20 or 0.35 for example.
* Fixed various little mishaps

0.0.8 -
* Fixed <Radiance> availability
* Added a system that copies Indigo's output render image to a subfolder based on a time interval, so that you can easily view the render progress or 'recover' an image if something went wrong.
* Added a couple of UI things..

0.0.7
* Added in some more error checking.
* Correctly sets the width/height and xml scene tags in the .ini file
* Camera translates 'correctly'. Theres some wierd math in there so if you find some oddities regarding FOV in max and indigo feel free to tell me.
* Material library gets appended properly.
* Once setup is done and Indigo is rendering you can safely shut down 3DS Max if so desired.



Tricks:
In case of a crash, it might be enough to just run/click the "tIndigoLink" button.

tIndigoLink and the network Listener relies on .ini file as configuration files. Make sure that they all are set properly before starting max.




Download:
download latest version: [tIndigoLink v0.1.5]



Important Usage Manual:
* To enable the netrendering, run tIL-listener.exe on ALL machines. Remember to edit each .ini file to point to where Indigo resides. The files in the /executableHelpFiles/ should be included in Windows by default, copy these to the /listener/ folder in case it throws an error or to be safe always put these files in the same folder as the tIL-listener.exe

* At the moment the tIndigoLink.matlib.txt file gets appended to the .xml file under ALL model files in case the scene is larger than 65k (3ds restriction). Put material definitions in this file that you want Indigo to use..

* The tIndigoLink.slaves.ini tells tIndigoLink what slaves to use for netrendering. Note that its a two value list with Machinename/IP number as the first entry and number of Indigo process as the second entry. I.e. if you got a 2 cpu machine you should at the moment (Indigo 0.3) put this number to 2 and the tIL-listener.exe will launch 2 process of Indigo on that machine.

* Inside Max: At the moment youre required to use a Target Camera. Remember that the camera target is the focal point in case DOF is enabled.

* Inside Max: Use a Target Direct light as your sun, this will be pretty accurate in terms of what Indigo uses. The Target Spot doesnt necessarily give you the same 'view'.

* Using tIndigoLink in Max: When 'Auto-Increment Render Images' checkbox the tIndigoLink will copy Indigo's output file to a backup folder at increasing intervals. Enables you to view the process once the render is done or recover an earlier version as backup




Installation Manual:
Unzip and copy folders into your max root folder. *IMPORTANT* Edit the ini file in /maxroot/scripts/tIndigoLink/ and start max. tIndigoLink is available under the "Trinisica Tools" category in the UI setup. For netrendering to work properly you need to edit the .ini in /scripts/listener/. Its important to keep the tIL-listener.exe program running on all slaves and the master machine while using tIndigoLink in network mode.

Unzip the package file. copy over the unzipped folders into your max root folder. These files will be copied to:

maxRoot\
------- plugins\
-------------- tIndigoLink.plugins.mse
------- scripts\
-------------- tIndigoLink\
--------------------- tIndigoLink.ini
--------------------- tIndigoLink.slaves.ini
--------------------- tIndigoLink.mse
--------------------- tIndigoLink.objsets.mse
--------------------- tIndigoLink.matlib.txt
--------------------- meshlights.jpg
--------------------- listener\
---------------------------- tIL-listener.ini
---------------------------- tIL-listener.exe
--------------------- master\
---------------------------- indigomaster.exe
--------------------- executableHelpFiles\
---------------------------- MSVCR71.dll
---------------------------- w9xpopen.exe
------- stdplugs\
-------------- stdscripts\
--------------------- tIndigoLink-Struct.ms
-------------- macroscripts\
--------------------- tIndigoLink.mcr


Once installed and in max: Pick Customize from the file-toolbar. Then Customize User Interface. Available under the "Trinisica Tools" category in your Customize User Interface panel:
"tIndigoLink" - put as a button on the toolbar for example.










Example of UI:
UI screens of tIndigoLink addon:


Screen showing tIL-listener.exe:




































Just for Statistics