And don't even think of shortcutting step 2 of Martin's idea (deformer /
envelope assignment) using GATOR. I've just been there and the order of
deformers is not guaranteed to be the same. Catching that one was no fun
at all...
Cheers!
-André
Alastair wrote:
Martin
Thanks for that. Sounds like a plan. I'll try and find a willing scripter.
Alatsair
Alastair Hearsum
Head of 3D
GLASSWORKS
33/34 Great Pulteney Street
London W1F 9NP
T:+44 (0)20 74341182
F:+44 (0)20 74341183
http://www.glassworks.co.uk <http://www.glassworks.co.uk/>
http://www.glassworksamsterdam.nl <http://www.glassworksamsterdam.nl/>
(Company registered in England with number 04759979. Registered office
7-9 Swallow Street, London, W1B 4DT. VAT registration number: 867290000)
DISCLAIMER: This e-mail and attachments are strictly privileged,
private and confidential and are intended solely for the stated
recipient(s). Any views or opinions presented are solely those of the
author and do not necessarily represent those of the Company. If you
are not the intended recipient, be advised that you have received this
e-mail in error and that any use, dissemination, forwarding, printing,
or copying of this e-mail is strictly prohibited. If this transmission
is received in error please kindly return it to the sender and delete
this message from your system.
Martin Chatterjee wrote:
Alastair,
I'm afraid I don't have an out-of-the-box solution for you...
But I'm pretty sure that this could be scripted quite easily.
I actually never tried this but I think it might be possible to utilize
a temporary cage-deformer for this:
- read out the envelope weights and the deformer list of your polygon
character
- build a default envelope on your curve(s) with the exact same
deformer lists
- cage-deform the curve with the character mesh
- make sure that "Use polygon deformer components" is toggled off in
the Automatic Cage Assignment PPG
- Immediately kill the Cage Deform Operator again.
Your curve now still has the cage weight clusters with the
CageWeights Property!!
- For every Curve point:
- Read out the CageWeights for this CurvePoint.
The CageWeights correspond to the character mesh vertices if
"Use polygon deformer components" was toggled off
- Find the biggest CageWeights (3 to 5 will do, I think)
- Now calculate the new Envelope Weights for this curve point
from the character envelope weights and these CageWeights
Hope this helps, please let me know what you think.
Cheers,
Martin
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi