SOFTIMAGE|XSI
RENDERING & LIGHTING SCRIPTS






Many of these files have been compressed with winzip. (It's possible that, after downloading this file, you will need to add the extension .zip to the end of the file name in order for it to work properly with your de-compression program.)


"Highlight" JScript for SOFTIMAGE|XSI - Written by Guy Rabiller: Allows the user to place a ‘highlight specular impact’ on a surface.
A tutorial on how to use this script is located here: "Highlight" JScript Tutorial

Update!
There are now VBS versions.Click here for English or French tutorials on how to use those.
Drag and drop theses links from a netview browser within XSI 1.5 to install:
HIGHLIGHT (JSCRIPT)
HIGHLIGHT_CP(JSCRIPT)
HIGHLIGHT (VBSCRIPT)

Subregion Viewer Script - Written by Jean-Louis Billard -. This script will create a null and an implicit square as a child of the null. The square will resize according to the subregion render slider settings so you can adjust the render region visually like in 3.9 (also see notes in the file)

Drag and drop this link from a netview browser within XSI 1.5 to install:
SUBREGION

Camera Switcher Script - Created by Andy Hayes - Bournemouth University - This script was made primarily for use with animatics, when multiple cameras can be combined into one camera enabling an easier and simpler render. Simply set the desired cameras up in the scene and run the script. The script then lists all available cameras, where upon the user can input the desired starting frames for any camera. There is no need to enter ending frames as each camera will continue to be in use until the script comes across another camera starting frame. The same camera can be used more than once, by seperating each starting frame with a comma. For example to use camera1 from frames 1 to 25, followed by camera2 from frames 26 to 46 and finally back to camera1 for frames 47 to 100, simply enter "1,47" next to camera1 and "26" next to camera2. The script is also not order specific, so for example the first camera in the list does not have to be the first camera used. The script will generate a new camera and bake the camera selections on to the one camera called "Render_Me" and it is this camera that the user should render from. The baked camera also takes into account animated cameras and various fields of view.

Please send commments/suggestions to ahayes@bournemouth.ac.uk


Drag and drop this link from a netview browser within XSI 1.5 to install:
CAMERA SWITCHER SCRIPT


SOFTIMAGE|XSI LightsRing Script - by Guy Rabiller - Click here for a tutorial on how to use this script. (This tutorial is also avaliable in French) When you want to animate many lights in a coherent way, this can quickly becomes a tedious work. With the help of scripting, this could be a lot easier. Here we want to create a ring of lights, then animate the intensity of each light in circular patterns, and be able to play with some other parameters like the 'hardness' of the intensity transition during rotation. This script has two sides, one for creating such setup, the other will help us to animate it with the help of customs parameters created specificaly for this kind of animation.


Drag and drop this link from a netview browser within XSI 1.5 to install:
LIGHTSRING


RenderSets - Jonathan Katoe - Generates a .bat file for rendering mi2 files for the current project. This version allows you to chose passes. All generated batch files are stored under a folder in your scripts directory (./scripts/Rendersets/).

Drag and drop this link from a netview browser within XSI 2.0 and above to install:
RENDERSETS

Are you using XSI 1.5? Then you'll have to use this file:
RENDERSETS

Image to Spheres - Michael Isner - Website - Creates a grid of 3D spheres colored like each is an image pixel. Kind of like those 70's images made of circles.
1) Select the image source (In the explorer under Project > Sources > Images.)
2) Run the script.
3) Define the object resolution. Setting 10 * 10 will create 100 spheres.
You could hack into this pretty easily to get it to work generically with any kind of object


Drag and drop this link from a netview browser within XSI 1.5 and above to install:
IMAGE_TO_SPHERES

Layers2passes - Gerardo Alvarez - Website - The "Create passes from layers" menu command is too simple. Running this script will create new render passes for those layers that have the render visibility flag turned on. The new passes names will be the same as the name of the corresponding layer, and the objects inside will have the render visibility flag set acordingly. This script needs more work.


Drag and drop this link from a netview browser within XSI 1.5 and above to install:
LAYERS2PASSES

LM_RenderSelectedPasses - Ludovick Michaud - Janimation - Tired of writing script for scenes that have 10 passes and you just want to render 3 specific ones. Well this script is for you. When you are ready to render and you do not wish to render all passes, but rather only selected one. Run the script and I'll let you choose toward all your passes in the current scene and pressing ok will start the render on those babies. Should work in 1.5, haven't tested it in a while.

Drag and drop this link from a netview browser within XSI 1.5 and above to install:
LM_RENDERSELECTEDPASSES

.CAMERA SHIFT XSI:"Camera.subfrustum"MR"offset" - Javier Pahlen - Usage: Select camera and Run CameraShift.vbs. If you need to modify parameters just Run script again then Export to mi2 file. Then run the RenderSch.bat on your Project directory. Limitations: 1. unfortunately xsi2.0.1 has a bug, it does not write the offset to mental ray, so i wrote a sub to write a batch to translate the values; in any case, this may be just fine as this script writes your batches for you! 2. this won't work in Unix systems. Unix users will have to modify the offset manually (multiply subrust * image size)


Drag and drop this link from a netview browser within XSI 1.5 and above to install:
CAMERA SHIFT XSI

Point Light Interactive Fall Off by Bernard Lebel: You shall use this script only when you want a point light to have falloff values. Have you ever wanted to have visual feedback over the falloff of a point light? This script is meant to give you this feedback the easy way. The script will create two spheres. Those spheres, constrained to a point light (already present), will determine the falloffs of the light. The inner yellow sphere controls the falloff's start, and the outer red sphere controls the falloff's end. The falloff values of the light are driven by simple equivalency expressions.

How to use it: Create or select a point light. Be sure that this light is named Point (the default naming). Run the script Scale the spheres in Local and Uniform mode. The expression on the falloff specifies that each scaling value is added then subdivided by 3. If you scale in only one axis, you will end up having a unaccurate falloff.

Notes: The script overrides any value you have for the light's Exponent. The script sets it to 1, to make sure that the spheres define accurately the falloff. Also, scaling the light has no effect on the light's falloff nor the spheres' scaling.

Drag and drop this link from a netview browser within XSI 1.5 and above to install:
Point Light Interactive Fall Off

XSI Batch-Render Filemaker by Paul Dawson: I have written a script, while studying for a Masters Degree in Computer Animation at Bournemouth University, England. When run in XSI it creates two batch files. The first file renders the frames, while the second file is automatically run from the first and checks the processor to see if XSIBatch has stopped before the render batch has finished. If XSI has hung then the last frame rendered is logged as it will probably be corrupt. These logged frames are erased and re-rendered.

This means that overnight/unattended rendering can be achieved without worry! All frames will be rendered.


Drag and drop this link from a netview browser within XSI 1.5 and above to install:
XSI Batch-Render Filemaker

Lightgen data script by Robert Ryan - Website: This script will import text files created by Lightgen. I have included the option to use colors based on intensity values. The script will also create a custom parameter set located under your rig that will allow you to control sky and ground intensity values globally.

Export a textfile from Lightgen and run the script from XSI. A file dialog
will open, choose the textfile and set the options.

features so far:
- The script can create a color for each light based on the intensity
values.
- Set distance from center ( This must be at least 1).
- Create a layer automatically with all the lights.
- Choose to disable specularity.
- It creates a custom parameter set located under the master null, that
enables you to scale the intensity values globally. Seperate controls for
sky and ground intensity.

You can scale the whole rig by branch-selecting the master model and scale.

Drag and drop this link from a netview browser within XSI 1.5 and above to install: LightGenScript
Mirror: Drag and drop this link from a netview browser within XSI 1.5 and above to install: LightGenScript

JAnyImgToMap - By Javier - Website - Converts all your standard image files to memory mapped files including image sequences--increasing render speed. Saves all new .map files to ..ProjectFolder/Pictures/map_x86 keeping existing files intact. Creates a log file in the same folder. 'Works only for Windows based XSI

Drag and drop this link from a netview browser within XSI 1.5 and above to install: JAnyImgToMap






Have you got a helpful script that you think might be useful to others? Want to get it posted here? Just mail it to me (EdHarriss@EdHarriss.com), and I'll put it up!




HOME