This example loads object graphs, the format of versions published before 2026.9. To render a
bundle version, swap the loader as shown in Load a bundle in your Viewer
app.
Speckle Data
The viewer comes with a builtin speckle loader. Here’s an example of how to get things going:Other Data Sources
By creating your own loaders you can load data from various input sources. The viewer library only come with a barebones OBJ loader in addition to the speckle loader.string or ArrayBuffer
OBJ Loader Example