Skip to content
Kristian Sons edited this page Mar 11, 2015 · 3 revisions

Asset Clustering

The XML3D exporter saves all geometry objects and (possibly) materials as XML3D assets in external files that are referenced. Each of these files can contain one or more assets. The asset clustering option gives you control on how many files are created.

Clustering all asset in a single file is not a good idea because visitors will have to wait until the whole asset has been downloaded before it gets displayed. Having too many files, e.g. one file per object, will result in many server requests which may affect the performance (the browser typically does not spawn more than 8 request).

None
No asset clustering. Each asset is saved in an individual file. The blender geometry objects' data blocks are however shared.
Layer
All assets within each layer are clustered into one file, i.e. up to 20 files are created. This option is the best if you are aiming for self-contained reusable assets. It gives you the freedom to use the layer mechanism to control the structure of the asset resources.
Fixed
The assets are distributed across a fixed number of files (bins). This options using ~8 bins is the best trade-off between streaming assets and number of requests.

Note that Layer and Fixed may result in shared data ending up in multiple files and hence to a slightly larger overall size.

Clone this wiki locally