BSP Auto-Tuner for XSI

As I was thumbing through the specs for XSI 7, I noticed that there is a new method of implementing BSP trees. I haven’t seen it in action, but supposedly it auto-configures all of the settings for you. If you haven’t messed with them before, BSP trees can DRASTICALLY reduce render times. Most of my render times on PI were cut in half, often more once I tweaked the settings. However, it takes a really long time to tweak every pass for every shot by hand, so I wrote a little auto-tuner for it. There is an auto-tuner in the netview, but it is wicked slow because it renders everything at full res and I need something that can tune a pass in a couple of minutes. This script may or may not work once version 7 comes out, but it saved my butt several times over and should work on 6.5 and below. Just load it up in the script editor and hit run.

http://www.pigeonimpossible.com/Downloads/LM_BSP_Tuner.zip

Oh, and let me know how it works for you. I’ve only tested it myself on a couple of systems and its a little janky, but seems to be pretty stable.

Bookmark and Share

6 Responses to “BSP Auto-Tuner for XSI”

  1. Mario Says:

    Cant run it.. Error in line 38
    SetValue(oPass + “.RenderOptions.PictureStandard”, 0, null);

  2. Lucas Martell Says:

    ah yes. Junki found that and fixed it. As soon as I get to a computer I’ll post his souped up version.

  3. James Says:

    So is the one with from the link updated then? and does it work with 7.01?

  4. Lucas Martell Says:

    I’m out of town at the moment and don’t remember where I put Junki’s version, but v7 switched over to BSP2 which is a whole different technique and is designed to autotune itself. You’d have to figure out how to enable the legacy BSP system, but I’d reccomend against that unless you have a good reason for doing so.

  5. Francisco Says:

    Hi Lucas,

    Great idea the BSP script; to bad does not work in 7.01; I hear you force XSI to use the BSP1 on the setenv.bat

    use this set MI_FORCE_OLD_BSP=1

    Please let me know if you update yours.

  6. Lucas Martell Says:

    I’ll definitely try that. I don’t want to update to 7.5 yet and there were some big problems with that first version of BSP2.

Leave a Reply