download this repo, then install it through to Blender Preferences > Add-ons -> Install
It's recommend to have only 1 camera as the script will pick the first available camera. It will export a glb file containing only the camera named filename_camera.glb
and its action baked.
First you need to start Blender through the command line. You can speed up the process by making an alias:
Right click on the Blender icon in the Applications folder and select "Show Package contents". Make an alias of Contents/MacOS/Blender by right clicking and selecting "Make Alias". Rename it and move it somewhere you like.
These features requires the module @gltf-transform/cli on your system:
The logs are available in the info tab of blender
npm install --global @gltf-transform/cli
EXT_mesh_gpu_instancing will export a glb file containing only the gpu compatible collections under the name filename_gpu.glb
.
filename_camera.glb
for camera baked animation.filename_gpu.glb
for instances.filename.glb
for the typical gltf export.
- Bake camera: Handle multiple camera
- Bake camera: Handle error if no camera are in the scene
- Bake camera: Handle error if the camera has no animations or frame_end