Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / 3ds Max CAT / Rig resizing headaches
  RSS 2.0 ATOM  
2 pages: 1.2 first

Rig resizing headaches
Rate this thread
 
44999
 
Permlink of this thread  
avatar
  • agatsuma
  • Posted: 13 September 2010 07:59 AM

In fact resizing a skinned biped rig requires complex work arounds as well



Replies: 0
avatar

There is a way to scale characters in CAT with an animation layer.
Somehow scale inheritance is linked to an animation layer. So you have to set all scaling inheritance on. There’s a simple maxscript to fix that, please note you have to be on an active animation layer.

local theNodes selection[1][3].CATParent.CATRigNodes
 
-- Set scale inheritance to all nodes!
 for 
n in theNodes do setInheritanceFlags n #all

This fixes the inheritance problem, that by default scaling inheritance is set to off (why I don’t know it doesn’t make sense either).

But for some rigs this only solves part of the problem. Why because of “Additive To Setup” is turned on. It’s a nice thing to have, but it can’t follow scale anymore, because the setup controller determines the position/scale of an object. If there are no special controllers in you used in the setup controller layer, you can safely switch this of (beware you’re animation clips or whatever pose you saved before will be unusable after that, so it should be a design decision!).

Now how to switch all the Additive To Setup options to of is something I scratched my head over for a long time, but finally I found in witch interface this setting is set.

-- Turn additive to setup layer off!
 for 
1 to selection[1][3].CATParent.CATRigLayerCtrls.count do 
 (
 try (
 
$[3].catparent.CATRigLayerCtrls[f].AdditiveToSetupValue false
 
)catch()
 )

You’ll have to do some testing and play with creating a new layer and run the inheritance script after first applying the additive script. I have a some character now that scale during animation and all stays in one piece. One problem you have is that the hiphub doesn’t scale in position when you scale from the ground plane for example, you’ll also have to move the hub upwards to compensate. You can add a bone below the hips and parent the hips to it, but then you’ll loose the cat motion as it breaks.

Hope this is of some help to someone.
I like CAT but I’d also like to see it gets some serious TLC,

-Johan



Replies: 0
avatar
  • strob
  • Posted: 27 August 2011 03:39 PM

Johan Boekhoven 14 September 2010 11:50 PM

There is a way to scale characters in CAT with an animation layer.

Hi,

I’m trying to scale a cat rig and it’s a nightmare cause I have hundred of parts which are all constraint and some are skinned.

I don’t understand how you scale the rig with an animation layer. First my scale inheritance is on and my additive to setup were off. I don’t remember if there were like that by default though…

And after that what do you do to really scale the rig? If I scale whatever node even with your setup everything explode…



Replies: 0
avatar
  • tyree
  • Posted: 28 August 2011 01:30 PM

to strob constrained objects tend not to scale right. you may have better luck linking



Replies: 0
avatar
  • jona vark
  • Posted: 16 December 2011 12:17 PM

hmmm… over a year later and this resize script is still a mess. go figure.



Replies: 0
2 pages: 1.2 first