Model Conversion

Recipes for importing AEC model files into xeokit

Introduction

The xeokit SDK allows us to load large, full-precision AEC models over the Web in seconds and view them in the browser. To do that, we pre-convert our models to xeokit's fast-loading native XKT format.

Listed below are several pipelines we can use to convert AEC files to XKT. Each pipeline involves running the files through a chain of one or more CLI tools, in your local environment. The Community pipelines use exclusively open source tools, while the CxConverter pipelines use a proprietary tool for which a commercial license is required.

Periodically, we run our AEC test files through all the pipelines. That statically-generates the Model Conversion Tests page, where you can check if the latest pipelines are converting our test models correctly.

CxConverter glTF Conversion Pipeline #1

...


A high-performance pipeline that converts large .gltf files into .xkt, with two CLI tools, using intermediate .glb and .json files.

Features
  • Converts huge .gltf files of many gigabytes
  • Two CLI tools, written in C++ and JavaScript (NodeJS)
  • Option to split output into multiple files for easy loading in browsers
  • Creates intermediate .glb and .json metadata files
  • View the .xkt or .glb in a xeokit Viewer with XKTLoaderPlugin or GLTFLoaderPlugin
Tools used
More info

CxConverter glTF Conversion Pipeline #2

...


A high-performance pipeline that converts large .gltf files directly into .xkt, using a single CLI tool and no intermediate formats.

Features
  • Converts huge .gltf files of many gigabytes
  • Converts .gltf directly into .xkt
  • A single CLI tool written in C++
  • Option to split output into multiple .xkt files for easy loading in browsers
  • View the .xkt in a xeokit Viewer with XKTLoaderPlugin
Tools used
More info

Community glTF Conversion Pipeline

...


A pipeline of open source CLI tools that converts medium-to-large .gltf files to .xkt.

Features
  • Converts medium-to-large .gltf files to .xkt
  • All tools open source under AGPL3 and MIT
  • Creates intermediate .glb and .json metadata files on disk
  • View the .xkt or .glb in a xeokit Viewer with XKTLoaderPlugin or GLTFLoaderPlugin
Tools used
More info

Community Multi-Format Conversion Pipeline

...


Convert multiple source formats into .xkt in a single step.

Features
  • Converts .gltf, .glb, .gltf, .laz, CityJSON and small .gltf files to .xkt
  • Don't use with large .gltf files
  • Open source under AGPL3
  • Internally uses web-gltf when converting .gltf.
  • Creates no intermediate files
  • View the .xkt in a xeokit Viewer using an XKTLoaderPlugin
Tools used
More info