Free Daz Script Controlled animated shifting between two poses
Free Daz Script Controlled pose shifting
https://sites.google.com/site/mcasualsdazscripts9/mcjbetweenposes
you animate the scale of a null node, thereby creating an animation curve
you pick two poses on your timeline between which you want to go back and forth of just back or just forth
and the script creates an animation using that curve and those two poses
Comments
Thanks again
atoxic
Ah, excellent - many thanks!!
This is very helpful thank you
Great script!
Is it possible to shift between more than 2 Poses?
This would be great for more complex animations which repeat but with different speeds.
well it would be a very different script
and the 'control node" method would need to be replaced by a sequencer
maybe in the form of a list table
then to make it more useful, you could specify shifting
the whole figure, 1 bone or a group of bones
would take more than an hour to write that script
in a way it's similar to my etherCam script
but ethercam sequenced a series of existing camera animations
To vary the speed of the in-betweening this would require more thinking
in the meantime there's aniMate that could help but I don't know
but I don't know enough about it to tell you if you could bend it to do what you want to achieve
Thanks for your answer.
I thought it might be possible to set 3 (or more) source poses.
So the size of the null object will interpolate between them
0-50% is first to second and 50-100% is second to third pose
But I think I can archieve the same by baking a part of the timeline to an erc.
i'm making an animation wherein Gabbie takes a keyblade , manipulates it, then puts it back on the table
using mcjParent and mcjMakeTarget and I wrote this short script that shows how to store a figure pose at a far point on the timeline
I thought this may interest you
using something like this, one could copy the pose stored at frame 300 and paste it at frames 0, 60, 120, 140
then take the pose stored at frame 301 and paste it at frames 30, 90, 130
the interpolation between the 2 poses would be Daz Studio's default splined interpolation
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
var actionManager = MainWindow.getActionMgr();
var action1 = actionManager.findAction( "DzMemorizeFigureAction" );
var action2 = actionManager.findAction( "DzRestoreFigureAction" );
copyFrame( 0, 300 );
copyFrame( 90, 301 );
function copyFrame( frSrc, frDst )
{
fr = Scene.getFrame();
Scene.setFrame( frSrc );
action1.trigger();
Scene.setFrame( frDst );
action2.trigger();
Scene.setFrame( fr );
}
Thanks for your reply. I try to get my head around.
At the moment using erc sliders for the animation seems to work.
I'll try to use mcjbetweenposes to animate multiple sliders with the same values - or i will try your new mcjcyclefilter to copy the slider values between characters.
yesterday i tried using mcjbetweenposes for the animation below
and I suspected it doesn't work anymore,
some of my older scripts broke when new versions of Daz Studio were released
but today I tried again and it seems to work fine
someday I'll improve it, add the code to store/move a pose to, another frame
so say you have a dance animation, you could send poses at frames 0,10, 20, 30 to frames 1000,1001, 1002, 1003
then you could delete all the animation at frames 0 to 100
and build the animation in frames 1 to 100 using in-betweening that uses the stored poses
and instead of a control node you'll have on-screen display/editing of the control curve