BehaviorInstanceActorsAbstract: Create instances of the selected Softimage|Behavior actors.Description: This tool creates instances of all the selected Softimage|Behavior actors and adds a custom PSet to the scene root to add translation offset to the instanced actors. Working Scenarios: This tool was designed to multiply the actors crowd count in XSI many times using instances. This means there’s no need to do simulations with huge counts in behavior or do multi pass rendering in XSI for keeping scene size manageable. This script was able to efficiently generate a crowded scene with a flocking 1000 digital actors on a small workstation with 2.4 GB CPU and 1 GB RAM. User Usage: Select all Softimage|Behavior digital actors models and run the script. Developer Usage: You can call this tool from any other scripts using the following function call: InstanceCrowd( oModelsCollection ) Where oModelsCollection an XSI objects collection that contains all behavior actors models. This tool returns true if it succeeds and false if it failed for any reason. Note: This tool is not recommended if you’re doing crowded scenes with actors that have animations without loops because all the instances will play the exact animation without considering the time offset you specify which leads to undesired results. The best case to use this tool is when doing flocking scenes. Another limitation is that the generated instances of this tool will loose the feet-terrain matching that is computed in the behavior simulation. This gig is not noticeable in crowded scenes with far cameras. For near cameras you still can zoom on the actual behavior actors with correct feet. Nature: Script Applies To: XSI 3.5 on NT,Win2K,XP Languages: VBScript |