KITASENJU DESIGN BLOG

memo, html, javascript, unity

gltf-transform使い方

コマンドラインツール gltf-transform on command line

GitHub - donmccurdy/glTF-Transform: glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.

gltf to glb

gltf-transform copy a.gltf output.glb

I don't know this is correct, but It seems to work

optimize

gltf-transform optimize input.glb output.glb --texture-compress webp

Help

gltf-transform --help

Help to check "resize"

gltf-transform help resize

resize tex

gltf-transform resize g5.glb g5resize.glb --height 512 --width 512

参考 reference

zenn.dev

"FOOTER"