I have an .fbx
file that takes 58.8MB
After converting it to a .glb
using draco compression with this package:
https://github.com/facebookincubator/FBX2glTF/tree/master/npm
The file now takes 28.4MB
Ideally, I would need to get the file below 5MB.
How can I achieve that ?
I am using 3DS Max.
The character used to take the whole screen on load, now here is what I see after converting the .fbx
to .glTF
, reducing the size of the textures from 2048x2048
to 1024x1024
and converting them to .jpg
:
To reduce the filesize of a model you’ll first need to know why it is the size it is. Often this is textures, mesh geometry, or animation data. If you export to .gltf
instead of the binary .glb
you should see textures in separate files, and geometry and animations (if any) in a .bin
file.
To reduce the size of textures, you’ll want to use traditional image optimization tools and shouldn’t need to edit the glTF file at all.
To reduce mesh complexity, use a modeling tool (e.g. “Decimate” in Blender), or compress the glTF file using Draco (as you’ve done here). Reducing the size of animation is a more advanced topic.