KineFX Additive Animation Maker

   903   6   1
User Avatar
Member
5 posts
Joined: Oct. 2023
Offline
Hi people, how are there?
I'm trying to create a tool that transform animation (Pistol shoot animation) to an additive animation, I searched in a lot of places and the only I've found is subtract the source animation with reference animation (frame 0 or 1), I try it to apply that, without get a good result, I don't know if I can achieved this wit KineFx, any help is appreciated, thanks a lot in advance, regards.
User Avatar
Member
8837 posts
Joined: July 2007
Offline
You can likely use Pose Difference SOP to compute the delta between 2 poses and apply to 3rd
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
5 posts
Joined: Oct. 2023
Offline
Thanks a lot for your reply, I've tried what you tell me, but I don't know if I made the correct addition to third pose

Attachments:
Code.JPG (25.0 KB)

User Avatar
Member
8837 posts
Joined: July 2007
Offline
Pose difference can also apply the delta directly especially when computed from custom matrix attrib, but I don't recall the order it computes the delta in so It'd be easier if you post simple example scene
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
5 posts
Joined: Oct. 2023
Offline
Sure, this is an example file, in that file, I've calculated the animation delta with pose difference sop node, and also I've tried to add that delta to rest pose, the code in point wrangle I've copied from a node inside pose difference, thanks a lot in advance, regards

Attachments:
additive_animation_maker.hiplc (435.5 KB)
pistol_fire.FBX (1.3 MB)

User Avatar
Member
8837 posts
Joined: July 2007
Offline
you can try computing and applying the difference in local space

Attachments:
additive_animation_maker_mod.hipnc (446.4 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
5 posts
Joined: Oct. 2023
Offline
Thank you very much, it works.
Regards
  • Quick Links