scripts: add jq processing scripts for animation outputs
This commit is contained in:
parent
389cba3f7d
commit
481c8aa424
1
scripts/list_assimp_nodes.sh
Normal file
1
scripts/list_assimp_nodes.sh
Normal file
@ -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\")"
|
1
scripts/list_fbx_animation_channels.sh
Normal file
1
scripts/list_fbx_animation_channels.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user