Embed or self-host a Gaussian splat
Embed a hosted Gaussian splat with an iframe, or deploy a complete TourLab viewer and scene to your own web server.
Choose a hosting option
| Use case | Workflow | Where the viewer and scene are served |
|---|---|---|
| Add an interactive splat to an existing page | Capture → Share → Embed | Splatware hosts the viewer and scene. |
| Host a tour with its viewpoints, skin and interactions | TourLab → Publish → Local Export & Hosting | Your static web host serves the bundled viewer, scene and tour assets. |
| Export a single splat in an HTML document | Convert → HTML | The HTML contains your scene. Viewer libraries load from the internet. |
Embed a Splatware Capture
- Publish a Capture and open its visitor page.
- Choose Share, select Embed, and copy the iframe. Enable the current-view option if the embed should open at your current camera angle.
- Paste the iframe into your page’s HTML and test it in a signed-out tab.
<iframe
src="https://splatware.com/embed/capture/BUDilzV5TMvyp4CcOT5H"
title="Mehringdamm Statue by Lucas"
style="width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px"
loading="lazy"
allow="fullscreen; xr-spatial-tracking"
allowfullscreen>
</iframe>The embed follows the capture’s visibility. For visitors without an account, use a publicly accessible capture.
Run the self-hosted example
Download the Color Study tour ZIP. It contains the TourLab player, a Gaussian scene and two saved viewpoints. The original sample scene is CC0.
- Extract the ZIP and open a terminal in the folder containing
index.html. - Start a local web server. For example, with Python installed, run the command below.
- Open
http://localhost:8080/in a browser with WebGL enabled. Drag to orbit and use the tour controls to switch viewpoints.
python -m http.server 8080Publish on your own website
- For your own scene, open TourLab and choose Local Export & Hosting in Publish.
- Upload the whole extracted folder to an HTTPS static host. Preserve the relative paths of the HTML, tour configuration, and asset folders. For example, place them under
/tours/color-study/on your site. - Open the deployed
index.htmldirectly, or embed it on another page on your site using the iframe below. Check that the model loads and the viewpoints work at the deployed URL.
<iframe
src="/tours/color-study/index.html"
title="Color Study by Splatware"
style="width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px"
loading="lazy"
allow="fullscreen"
allowfullscreen>
</iframe>Deployment checks
Serve the files through HTTP or HTTPS so the browser can load the scene and JavaScript modules. Apply your host’s access controls if the scene is private. External websites or media you add to a tour still depend on their original hosts.