How can I compress my FBX file further below 5MB?

TheProgrammer picture TheProgrammer · Aug 7, 2018 · Viewed 7.5k times · Source

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 :

enter image description here

Answer

Don McCurdy picture Don McCurdy · Aug 11, 2018

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.