diff --git a/scripts/list_assimp_nodes.sh b/scripts/list_assimp_nodes.sh new file mode 100644 index 0000000..5bb8062 --- /dev/null +++ b/scripts/list_assimp_nodes.sh @@ -0,0 +1 @@ +./src/model-tool -c tree -i ~/src/lobo/assets/object/manModel.fbx 2>/dev/null | cruft/json/tools/format - | jq -cr ". as \$in | [\$in | leaf_paths] | map(select(.[0] == \"root\" and .[-1] == \"name\")) | map(. as \$path | \$in | getpath(\$path)) | join(\"\n\")" diff --git a/scripts/list_fbx_animation_channels.sh b/scripts/list_fbx_animation_channels.sh new file mode 100644 index 0000000..4d75c70 --- /dev/null +++ b/scripts/list_fbx_animation_channels.sh @@ -0,0 +1 @@ +./src/model-tool -c tree -i ~/src/lobo/assets/object/manModel@walk.fbx 2>/dev/null | cruft/json/tools/format - | jq -r ".animations[0].channels | map(.name) | join(\"\\n\")" | sort > walk.fields