Hello. I'm trying to convert frame animation and convert it to shape keys to export it to fbx. How can I achieve it?
I've tried to use the setup below (timeshift_fiteration has this expression for frame:
detail("../foreach_count1/", "iteration", 0)
. But it turn out that "Blend Shapes" overrides all previous blend shapes and resulting object after loop has just 1 last frame blend shape and not 52 (number of frames in animation) as I would expect.
What I've learned is that the only way to create multiple shape keys for export is to add them all at once (screenshot below). But how can I add them all at once if number of frame could be changed? How can I store all these timeshifts in some array to use them later as blend shapes?
you should be able to use Character Blendshapes Add SOP to add all your blendshapes in similar loop like you have above and then probably FBX Character Output SOP to export your fbx
tamte you should be able to use Character Blendshapes Add SOP to add all your blendshapes in similar loop like you have above and then probably FBX Character Output SOP to export your fbx
Testing it without loop first. What should I provide to "Capture pose" input to make it work?
To put it out here too - the only solution I've found is the one I've described in the first post. If anyone knows how to reproduce the same thing using loops, arrays or some other more clever method - please let me know.
@SWest What I'm looking for now actually is the way to simplify the setup below. Or an example how to create object with blend shapes and export given that I don't have any rest pose, it's just an geometry object and some morph targets (also geometry objects, frames of alembic).
I tried to merge pack it / merge it and unpack it but had no success:
> Okay, I’ve just a little time. If I understood the original case you try to export an automated sequence. However the output is overwritten? The problem was that I needed to export it specifically as fbx with blend shapes. I've solved it by creating python script that creates N timeshifts and connects thems all to blend shapes node. The only question is left - is there some way to do it without using python, by just using nodes, perhaps loops.
Sorry I deleted my post because I feel that my understanding of the whole picture is too limited.
However, regarding ”one shot” cases I do not see a disadvantage to use Python in a custum snippet. All nodes are just packaged code anyway. Some times it is very beneficial to use some Python. Also, I find a lot of my own Python to mostly call methods already in the HOM.
Interested in character concepts, modeling, rigging, and animation. Related tool dev with Py and VEX.