
3D Models
3D models in your MapsIndoors solution are uploaded and managed through the Media Library, just like 2D models and icons. However, due to the nature of 3D models, there are a few additional steps to manage, particularly when uploading your 3D model. 3D models can be uploaded to the Media Library in the .glb
file format.
Making performant 3D models
To make your models performant on your maps, you need to follow a few guidelines. Here's a quick guide to exporting proper models from Blender (a 3D modelling software).
Fewer vertices result in smoother performance
To optimize performance, reduce polygons in your models to minimize data and machine power usage.

Ensure proper .glb export
Here is a guide on which materials to include or exclude in your model exports for better compatibility with Mapbox. The parameters listed below should not deviate from their default settings:

Set Preview Image

When you upload a 3D model to the Media Library, you'll need to set a preview image. This opens a viewport where you can move and rotate the 3D model to determine what image will display as a preview in both the Media Library and other CMS locations.
The widget you use to move your model. In this image, it is set to "Move", but will look differently when set to "Rotate".
Toggle between "Move" and "Rotate".
Zoom your viewport.
Enter values for rotation instead of using the widget.
Reset either the camera position, model rotation or model placement to the default values.
Last updated
Was this helpful?