NormalizedWeightsCheck

Abstract: Tags all points that have envelope weight total less than 100 (not normalized).

Description: This tool searches all points in the enveloped mesh and then tags any point that have weights sum less than 100 (not normalized).

Working Scenarios: This tool was introduced as a checking mechanism for exporting enveloped characters to the DirectSkeleton engine.
And it’s useful for checking enveloped objects that you doubt that it got denormalized points.

User Usage: Select your enveloped object and run the script.

Developer Usage: You can call this tool from any other scripts using the following function call:
NormalizedWeightsCheck( oObj, NotNormalizedPoints )

Where oObj is an object that has an envelope operator on it.
NotNormalizedPoints is an XSI object collection that contains the un-normalized points.
This tool returns true if it succeeds and false if it failed for any reason.

Note: This tool doesn’t check weights correctly if the enveloped objects have deleted polygons after the envelope operator is applied. This bug doesn’t shows if you use it in XSI 4.0+.

Nature: Script

Applies To: XSI 3.5 on NT,Win2K,XP

Languages: VBScript