Those specs sound eerily familiar ;-)

I had to write a command to clamp the weights on our envelopes as a final step 
before exporting to our engine.  The only problem I ran into was Softimage 
insisting on modifying whatever data I insert into the envelope by a very small 
amount - enough to cause vertices to be flagged as being underweighted.  I had 
to add code to work around that problem by forcing a smooth with 0% influence.

I cannot share the tool as it belongs to my employer.


Matt



From: [email protected] 
[mailto:[email protected]] On Behalf Of Jonny Grew
Sent: Thursday, June 20, 2013 8:48 AM
To: [email protected]
Subject: Limiting deformer weights per vertex

I'm working on a job that delivers an enveloped mesh for use with an online 
gaming engine.
There's a list of specs that need to be considered... ie polygon count, number 
of envelope deformers etc.

One of these limitations is that there can not be anymore than 4 deformer 
weights per point.  Does anyone know of a way of limiting this or a script that 
might remove all but 4 of the weights with the most influence on a point?! 
Smoothing the weights has a lovely result but could leave me with a very 
laborious task should I need to go through point by point over half the mesh 
before I mirror the weights.

Cheers

Reply via email to