I resolved meanwhile. For some reason, the number of deformers were double of 
the number of real deformers...Envelope saved, reenveloped, envelope loaded, 
and now just fine

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Martin
Sent: Thursday, June 20, 2013 12:19 PM
To: [email protected]
Subject: Re: Mirror weights causes Unspecified failure

 

I'm not sure if it is related, but Create symmetry template gets you an error 
if your enveloped model weights aren't normalized and the sum of the weights 
per point isn't 100.

 

It usually happens when you import FBX, the weights aren't normalized and the 
weights sum about 99.9 or 100.001, but SI doesn't flag them.

You can normalize your weights by selecting your points, check normalize in 
your weight editor and Add 0 weight to any deformer.

 

Martin

 

On Thu, Jun 20, 2013 at 6:51 PM, Enrique Caballero <[email protected]> 
wrote:

I wouldnt edit that code even if you could.


This has happened to me before, and it was related to a corrupted piece of 
geometry.  That asset may have been created in a previous version of XSI, who 
knows. 


Our methods here at very cavalier, as every modeller/TD has their own 
techniques, so its quite common for geometry to get corrupted somewhere in the 
process.  Once it happens, usually envelope operations will stop working 
properly.

 

Basically, I just export out as OBJ, reimport, Gator everything across, and its 
fixed.

 

best of luck,

 E

 

On Thu, Jun 20, 2013 at 5:16 PM, Szabolcs Matefy <[email protected]> wrote:

Hey folks,

 

I want to mirror skinning from a portion of the mesh to the opposite side. 
However, after the Create symmetry template dialog box (and prior creating the 
symmetry map itself) the operation cancels saying that unspecified error 
occurred...

 

This is the code part where it fails (enveloping.vbs)

 

function get_deformers               (in_obj, out_deformers )

 

                dim deformers, myenv, weights, i

 

                set deformers = CreateObject("XSI.Collection")

                set myenv = 
in_obj.activeprimitive.constructionhistory.find("envelopop")

                Weights = myenv.Weights.Array

 

                weights = myenv.Weights.Array

 

                For i = lbound(weights ,1) to ubound(weights ,1)

'                               87892:   The fact that we didn't mirror 
effectors caused scenes that have envelope weighting on effectors not to 
symmetrize correctly. 

'                                                               Enabling 
symmetry on effectors.

'                               if( myenv.deformers(i).type <> "eff" ) then

                                                deformers.add 
myenv.deformers(i)  
ß------------------------------------------------------------------------ Line 
of failure is this

'                               End if

                next

 

                set out_deformers = deformers

 

end function

 

At first glance what hit my eyes is that once deformers is a collection, and 
then deformers is a property of the myenv object. Can it cause an issue? I 
can't do any edit, since the folder is read only, and our admin doesn't let me 
play with the rights in my Softimage folder...

 

 

Cheers

 

 

Szabolcs

___
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version. Crytek GmbH - 
http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 
Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: 
Avni Yerli, Cevat Yerli, Faruk Yerli

 

 

Reply via email to