I reported an issue in 2013 SP1 where FCurve.SetKeys() was running incredibly slow (like 2500% slower) in the Scripting API. If the command called by your animator eventually runs a route through FCurve.SetKeys() (your code or Softimage’s), then that would explain the issue. This was fixed in 2014.
To get us working on 2013 SP1, I wrote a wrapper command to expose the same functionality through the C++ API which was not affected by the issue.
Matt
I would advise training your animators to not key every parameter under the sun. We had the same problem and had to start slapping wrists as well as be more aggressive with rigging to ensure only parameters that needed to be keyed could be keyed. That has greatly reduced problems. It’s not often an animator keys the scaling parameters, so take a close look at the FCurves to see how many of the scaling parameters are actually keyed at values other than 1.0.
Matt
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Enrique Caballero
Sent: Monday, May 20, 2013 8:16 PM
To: soft...@listproc.autodesk.com
Subject: Re: Setting and Manipulating Keys Very slow in Referenced Model
well its a gear rig so there are a fair but of custom parameters. but not an obscene amount. And as far as I know, no parameters driven by ICE. although I am using the dual quaternion skinning compound for the envelope. I've already tested with this removed and it wasnt the issue.
Tim Crowson
Lead
CG Artist
Magnetic Dreams, Inc.
2525
Lebanon Pike, Building C. Nashville, TN 37214
Ph 615.885.6801 | Fax 615.889.4768 |
www.magneticdreams.com
tim.c...@magneticdreams.com
Confidentiality Notice: This email, including attachments, is confidential and should not be used by anyone who is not the original intended recipient(s). If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage mechanism. Magnetic Dreams, Inc cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Magnetic Dreams, Inc or one of its agents.
>What does everyone else do to keep things from being keyed in ref model situations in a production environment?
We used to use parameter locking until we discovered that it doesn’t always work for parameters in referenced models. A number of built-in Softimage tools don’t function properly with locked parameters either causing tools to abort prematurely (due to lack of error handling) leaving our work in a funky state.
We don’t use character key sets because that would force us to create a character key set for every asset in the game the animators touch. If the rigger forgets to insert a parameter into the keyset, then the animator can’t work until the rigger can update the key set. Since other artists touch the rigs for different reasons, such as FX artists inserting their effects into the rig hierarchy, that’s a lot of maintenance. Our custom simulation tools have over 400 parameters per emitter, and sometimes an individual rig can contain up to 15 emitters (rare, but it happens). That’s too much to maintain without being bitten by human error.
Currently we remove the Keyable and KeyableNonVisible parameter flags for parameters that shouldn’t be keyed. This too is a bit high maintenance, but it’s more acceptable if something goes wrong. For example, in the case of a character keyset, only parameters in the keyset can be keyed. If the rigger forgets to add a parameter to the set, the parameter cannot be keyed. If using ‘keyable’ flag on parameters, most parameters default to keyable being active. Therefore, if the rigger forgets to remove the keyable flag the parameter is still keyable allowing animators to work. It’s just a matter of when they key something that wasn’t intended to be keyed that we can go in and quickly isolate the problem and fix it.
In both cases there is human error involved leading to undesired results, but using keyable parameter flags results in less time spent on troubleshooting when things go wrong.
Matt
Magnetic Dreams, Inc.
Eric Thivierge =============== Character TD / RnD Hybride Technologies
I’ll have to wait for somebody to experience it again before I can specify in great detail. Usually in the area of enveloping and cluster tools. I complained a bit about in the past, so maybe some things got fixed. It was a big problem in 7.5.
Matt
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Eric Thivierge
Sent: Wednesday, May 22, 2013 2:50 PM
To: soft...@listproc.autodesk.com
Subject: Re: Setting and Manipulating Keys Very slow in Referenced Model
Could you elaborate with some examples of tools that fail? I haven't experienced this myself so I'm wondering which ones they are and which ones to look out for.