Page 1 of 1
2.4 rig and switch layers
Posted: Tue Mar 31, 2009 9:32 pm
by dueyftw
Is there any way to copy all the bone values of one switch layer and paste them into a another switch layer?
My 2.4 rig. Not quite a 3/4 head turn.
http://rapidshare.com/files/215883333/2.4_bush.anme
How it works for newbies, the center two bones (l,r) have been blinded to each side of the face. Split down the middle. They are controlled by the two bones that are to the left and right. Once past frame zero, the bone (rotate) will rotate the head and do a head turn if the size is changed. The other unlabeled bone is used with rotate to change each sides over all poitision of bones (l,r) The chin bone is to warp the chin.
If I could copy all the values of the one bone layer into the other, I could remove the snap in the animation when going to one switch layer to the next.
Dale
Re: 2.4 rig and switch layers
Posted: Tue Mar 31, 2009 9:50 pm
by heyvern
dueyftw wrote:Is there any way to copy all the bone values of one switch layer and paste them into a another switch layer?
OOPS!
If you read this before I edited I read the question wrong!
Copy bone values from one switch to another? I think my copy bones script works for this but not sure. My save bone animation script works for switch layers. You could check that out.
Another trick would be to just duplicate the switch layer and replace the switch layers inside it. If the bones are the same names and exactly the same creation order (same IDs) then the switch layers will work with the new switch bones from the duplicate.
1. duplicate switch layer you want the bone info from
2. delete the layers
3. drag the layers from the other switch into the duplicate
If all the layers (point binding etc) are to the same bones from the duplicate it will work the same. The same keys etc. The key is that both layers have to have the bones in the SAME ORDER. If you created the same bones but in different orders the IDs are different and point or layer binding won't work. This only means you would have to redo that part with the layers dragged into the copy. It would still work.
-vern
(Genete beat me to it!)
Posted: Tue Mar 31, 2009 9:58 pm
by Genete
Is there any way to copy all the bone values of one switch layer and paste them into a another switch layer?
No possible unless you duplicate the switch layer and tweak the bones in the copy to form a different skeleton. Same for a bone layer.
-G
Posted: Wed Apr 01, 2009 7:17 pm
by dueyftw
Thanks guys. I have worked it out. I going to animate in stages.
1) First have only one layer in the switch. with the mouth closed. Do all the eye blinks and eye brow movements by hand. Then add all the head turns.
2) Copy this layer as many times as needed as new switch layers, removing the mouth from each copy.
3) Add in the mouths from other layers to the new switch layers, where I have change them to mouth open, half open, o- sound etc. Then hide the extra layers
Now I have smooth interpolation head movement with only switch on the mouth.
Dale
Posted: Fri Apr 03, 2009 5:57 am
by Dodgy
If your switch layer is the child of a boned layer, you can use Vern's copy paste bones script with this script:
http://www.mikegreen.name/Lscripts.html ... ent_Master
And the switch's bones will then follow the parent's bones, over the course of the animation.
Posted: Fri Apr 03, 2009 3:40 pm
by dueyftw
Thanks but I think that it much easier to copy the layers. That way the movement will match no matter what. I'm using actions for eye blinks and other movement before I add the mouth switch layers.
If anyone is interested I could post a tutorial on how from begging to end the 2.4 bones set is used.
Dale