Quick Instructions:
- GLB is our recommended file type, but we also support FBX and glTF
- Make sure when exporting your file, you enable "embedded media"/ textures if available
- When ready to upload, follow the instructions here.
Read on for details and resources...
File Optimization
Target file metrics
Recommended to keep the model below 50,000 triangles.
Recommended to keep each texture below 1024 x 1024, and a maximum of 4 textures.
Polycount has to be less than 100K
Your model will look more impressive if you bake in lighting into your texture.
How to optimize textures
- Try downsizing the textures first (You can do this in MS Paint or Photoshop)
- The more textures that are in the model, the more important it is to keep them at a lower resolution
- Export as jpg instead of png if there is no need for an alpha channel
How to optimize models
Using Blender you can use the Decimate Modifier.
For more advanced decimation tools see recommendations below.
Other resources for decimation
Microsoft’s recommendations for decimation
At Microsoft we have Simplygon, and that’s certainly an option. It has various APIs and is quite scriptable. But that’s historically been used for large game titles and has traditionally been licensed per shipping title.
MeshLab is an open-source option with automatic mesh optimization.
File Conversion
How to convert your 3D file to GLB
FBX, gLTF, and GLB are supported, but GLB is our recommended file type.
Explore the tools below to convert your models.
Conversion Tools
GitHub - Facebook Incubator FBX to glTF - need to use it through command line
GLB Packer - use this to convert from glTF to GLB(especially useful if taking models from Sketchfab, or if using non-embedded glTF)
Article on converting Step files - .stp files to glTF
Export Settings/ Embedding
All the textures should be embedded in one fbx or glb, separate texture files won’t be loaded
- Some software embeds media automatically so this setting may not be visible, check to make sure.
* If you have any questions please reach out to support@spatial.io *