lumoz_optimize_3d
Optimize any .glb 3D mesh for Unity, Godot, Unreal Engine, or Three.js ($0.005/run). For static props: centers pivot flat on the floor (y=0), normalizes real-world height in meters, and compresses embedded textures. For rigged animated characters: use pivot="keep" (omit target_height) to compress textures safely without touching the skeleton, AND optionally pass animation_glbs to merge multiple same-rig animation .glb files (walk, run, slash, fall) into ONE single compact .glb with zero duplicate meshes or textures.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"glb_url": "<glb_url>"
},
"name": "lumoz_optimize_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot | No | Pivot alignment: "ground" puts bottom center at (0,0,0) for floor placement; "center" centers volume at origin; "keep" leaves original pivot. Default: "ground". | ground |
| glb_url | Yes | Public URL of the base .glb file (e.g. hero_idle.glb or static prop .glb). | |
| target_height | No | Optional real-world height in meters (e.g. 1.8 for a character, 1.0 for a crate/prop). | |
| animation_glbs | No | Optional list of up to 8 extra animation .glb files from the SAME rig_task_id to merge as clip-only tracks into this single output .glb (eliminates duplicate meshes/textures for web games). | |
| texture_format | No | Texture compression format: "jpeg" (universal across Unity/Godot/Unreal/Three.js), "webp" (smallest for WebGL/Three.js), or "keep". Default: "jpeg". | jpeg |
| texture_quality | No | Compression quality (40-98, default: 82). | |
| max_texture_size | No | Maximum texture width/height in pixels (512 for Three.js/mobile, 1024 for Unity/Godot). Default: 1024. | |
| base_animation_name | No | Optional clean name for the base GLB animation clip when merging clips (e.g. "idle"). |