Transformation from Genesis node to Hip bone - how?
Michal P.
Posts: 78
Hi Everybody,
I have animation where the Translation and Rotation is done for Genesis node but the Hip bone has all set to zero in all frames. Is there any trick how to transfer setting to Hip bone for all frames?
I have some idea how to transfer Translation from Genesis node to Hip bone using mcjJump. But I could not copy the Rotations from Genesis node to Hip bone. Do you have any idea how to copy Rotations from Genesis node to Hip bone for all frames? Copy and Paste does not work in Timeline. It paste back to Genesis node.
Thanks a lot.
Comments
I'm not aware of one however if the concept is that you want the hip to stay put while posing the rest of the figure, I just noticed this gem in the store. Can pose "only" the selected targets, leaving the rest of the figure where one planted it.
https://www.daz3d.com/magic--smart-actions-for-posing
Thank you for the response, but this will not work.
'k
Have you checked through The WPGuru's videos on YT. I don't recall this particular aspect being covered but then I wasn't looking for it at the time either.
Since the hip bone is a direct parent of the figure and they're both XYZ order, could you write a script to just set the hip's transformation to the node's transformation, and then zero the node's trandformation, for every frame? By the associative property of matrix multiplication, the transformation of all the children below the hip would be unchanged by this "swap".
Edit: as long as they're not scaled, but you could account for that, too.
Select the Genesis and Hip (in this order) and run this script:
var range = Scene.getAnimRange();
var tick = Scene.getTimeStep();
var pos = [];
var rot = [];
var genesisNode = Scene.getSelectedNode( 0 );
var hipNode = Scene.getSelectedNode( 1 );
for( var fr = range.start/tick; fr <= range.end/tick; fr += 1 )
{
var t = fr * tick;
pos[fr] = hipNode.getWSPos(t);
rot[fr] = hipNode.getWSRot(t);
}
for( var fr = range.start/tick; fr <= range.end/tick; fr += 1 )
{
var t = fr * tick;
genesisNode.setWSPos( t, DzVec3(0,0,0) );
genesisNode.setWSRot( t, DzQuat(0,0,0,1) );
hipNode.setWSPos( t, pos[fr] );
hipNode.setWSRot( t, rot[fr] );
}
3D Universe's Daz Studio Animation Tools Set 1
The Body2Hip tool (script) works like a charm!
Now I can use Mixamo with ease!
Ohhhhh.... I missed this one. Thank you Sir !
Man! I saw that and nearly flipped my lid!
I bought it and used it and Did Flip My Lid!!! It ROCKS!!!
So I have my G2F FBX for Mixamo. Now I just download and load them directly into DS, run Body2Hip, save as DUF pose preset animation. Boom!
I added the wonders of the Bone Minion for Genesis 2 Pose Bundle, so all generations from M4 and V4 to Genesis 8.1 can use them straight from the library. Now I only need the Bone Minion Genesis 2 Poses for Genesis 9 and I'll be fully covered.