Open imljc opened 4 months ago
Each skeleton has different animations. To export "all" of them, we'd have to export all combinations. If s
is "skeleton" and a
is "animation":
s1a1, s2a1, s3a1
s1a1, s2a1, s3a2
s1a1, s2a2, s3a2
s1a2, s2a2, s3a2
s1a2, s2a2, s3a3
...
This is unlikely to be what you want.
You said that the animations are the same, do you mean they use the same name? I guess we could try to detect this scenario.
A workaround may be to use command line export to do all the exports you need.
每个骨骼都有不同的动画。要导出“全部”,我们必须导出所有组合。如果
s
是“骨架”并且a
是“动画”:s1a1, s2a1, s3a1 s1a1, s2a1, s3a2 s1a1, s2a2, s3a2 s1a2, s2a2, s3a2 s1a2, s2a2, s3a3 ...
这不太可能是您想要的。
你说动画是一样的,是说它们使用相同的名字吗?我想我们可以尝试检测这种情况。
解决方法可能是使用命令行导出来执行您需要的所有导出。
I want to render two skeletons at the same time and export their animation1~4 combine as one .mov. like: s1a1 s2a1 → one .mov s1a2 s2a2 → one .mov s1a3 s2a3 → one .mov s1a4 s2a4 → one .mov
I understand. This could only work automatically by matching the animation names. We don't support that, but we'll leave this issue open to track the request and may implement it in the future.
For now you can perform 4 exports using Current animation
. If you find that tedious, you can use the command line interface and a shell script to automate the exports. Also see our export scripts.
I understand. This could only work automatically by matching the animation names. We don't support that, but we'll leave this issue open to track the request and may implement it in the future.
For now you can perform 4 exports using
Current animation
. If you find that tedious, you can use the command line interface and a shell script to automate the exports. Also see our export scripts.
Thanks your answer, hopefully the future will add this function, and if use scripts and Current animation to export, it need to manual switch each animation, it so tired. if render one skel to export it will lead some slot use blending:additive will not blending correct(like:https://zh.esotericsoftware.com/forum/d/25591-%E5%85%B3%E4%BA%8E%E6%8F%92%E6%A7%BDslot%E7%9A%84%E6%B7%B7%E5%90%88blending%E9%97%AE%E9%A2%98).
I was thinking you could write a scripts that can generate (or modify) an export settings file to set which animations to export. However, I see that when exporting all skeletons together ("skeletonType": "all"
) the current animations are used -- there is not a way to specify the animations in the export settings file. We'll consider improving this and possibly detecting when skeletons have animations that are the same name, so we can allow you to choose together + all animations.
Hello, I have a project file with multiple skeletons and Animations,and skeleton's Animations are same. When using Export Video, I found that only when the "Export type- Animation , Skeletons-Separate",I can choose "Animation-All". I want to select the " Export type-Animation , Skeletons-Together , Animation-All" to export all animations. It seems that there is no such option I can choose.How to solve? Will a future update solve this?
![捕获2](https://github.com/EsotericSoftware/spine-editor/assets/22793508/727509db-c236-484e-b631-ffbe71bfd024)
here sample files: test.zip