Xentim Book a demo
Case study

3D Gaussian splatting compression: a 51 MB room scan that opens in the browser at 0.75 MB

3D Gaussian splatting stores a place as about a million soft, coloured blobs, so a scan looks like a photograph you can walk through. Our scan of an office in Poznań weighed 51 MB (958,309 splats). After our processing it is 0.75 MB, 68 times smaller, and opens in a browser. The goal is to let a fan see the pitch from their seat before buying a ticket.

Piotr BuczkowskiPiotr Buczkowskifounder of Xentim·
The same view from the 0.75 MB fileOriginal scan of the office, 51 MBOriginal · 51 MBXSPL · 0.75 MB
Drag the handle. Left: the original scan. Right: a file 68 times smaller. Same camera, same renderer.
  • Scan: our office in Poznań, handheld XGRIDS L2 Pro, 958,309 splats, 51.2 MB as PLY
  • Result: 0.75 MB with 96 thousand splats, or 1.67 MB with 240 thousand
  • Browser: decoded in 24 to 40 ms, drawn with three.js and the Spark renderer
  • Measured on: 120 cameras the training never saw, run once at the end

Open the live office scan (0.75 MB)

Why a Gaussian splat scan weighs tens of MB

A Gaussian splat scan (the method comes from Kerbl and colleagues, 2023) is a cloud of soft, semi-transparent coloured blobs. Each blob stores where it is, how big it is, how it is rotated, its colour and how see-through it is. That is why a splat scan looks like a photograph you can walk through, and also why it is heavy. Our office came out at almost a million blobs and 51 MB.

We want to use scans like this for stadiums, arenas and event venues. A fan picks a seat, sees the pitch from that seat, then buys the ticket. The 3D mockup we built for a football stadium weighs 3 MB in total. A scan has to land in the same range, or nobody waits for the page to load.

Existing tools get the office down to 10 MB without visible loss. To go further they drop splats, and at a quarter of the splats the file is 2.7 MB but the picture turns soft and a grey haze creeps in. The usual way to slim a splat scan properly is to retrain it on the photos it was made from. A laser scanner does not leave you those photos.

How to compress a splat scan without the original photos

With no photos to work from, the original scan took the pictures. We placed 6,000 virtual cameras in the office: at eye level, low, high, looking down from above and from outside. The original renders a picture from each one. The light version keeps only every fourth or every tenth splat and learns to arrange what is left so that, from the same cameras, it looks like the original.

  1. Pruning: we measure how much each splat contributes to the pictures from all cameras and remove the least useful ones over four rounds.
  2. Retraining: the remaining splats move, grow and change colour until the picture matches the original. Every step uses a random camera, background colour and resolution, so the light version cannot memorise a few views.
  3. Our XSPL format: instead of storing each blob's colour, size and rotation separately, we keep a few thousand typical patterns and each blob stores only a pattern number. Positions are stored as small steps from the previous blob, and everything is packed without loss at the end.
  4. Browser decoder: about 300 lines of JavaScript unpack the file in 24 to 40 ms and hand the splats to Spark. We checked that the browser shows the same picture as our measuring renderer.

How we measured quality after compression (PSNR and LPIPS)

It is easy to get a result that only looks good on the views used for training. So we set part of the office aside. The light version never saw cameras standing in those areas, and the final numbers come from a separate set of 120 cameras that we ran once, after every setting was chosen.

We report two measures. PSNR says how close the picture is to the original, in decibels; higher is better. Above 40 most people see no difference, at 35 you notice slight softening. LPIPS estimates how different the picture looks to a person; lower is better.

Before and after compression, side by side

Drag each handle. The left side is always the original scan.

The same view, SOG with a quarter of the splatsOriginal scan of the kitchenOriginal · 51 MBOff-the-shelf · 2.7 MB
The off-the-shelf route: a quarter of the splats, saved as SOG. 2.7 MB. Edges soften and fine detail turns to haze.
The same view from the 1.67 MB XSPL fileOriginal scan of the kitchenOriginal · 51 MBXSPL · 1.67 MB
Same number of splats, retrained and saved as XSPL: 1.67 MB, closer to the original and 38% smaller than plain SOG. Most of that gap comes from the retraining.
The same view from the 0.75 MB XSPL fileOriginal scan of the coffee cornerOriginal · 51 MBXSPL · 0.75 MB
Our smallest file: every tenth splat, 0.75 MB. The coffee machine, posters and shelves stay readable.
The same poster from the 1.67 MB fileHand-lettered poster in the original scanOriginal · 51 MBXSPL · 1.67 MB
Close up on a hand-lettered poster. At 1.67 MB the letters hold. At 0.75 MB they soften, which is fine from across a room but not for reading small print.

Results: file size against image quality

34363840420.5 MB1 MB2 MB5 MB10 MBstadium 3D mockup, 3 MB100% · 56.9 dB ↑50%25%XSPL 1.67 MBXSPL 0.75 MBSOG (splat-transform)file size (log scale)PSNR, dB (higher = closer to the original)
Each dot is one file, measured on 120 cameras the training never saw. Grey: the off-the-shelf tool at 100%, 50% and 25% of the splats. Blue: our format.
VersionSizePSNRLPIPSView from outside
Original scan (PLY)51.2 MBreference0reference
SOG, all splats10.0 MB56.90.00157.7
SOG, half the splats5.4 MB40.40.08836.8
SOG, a quarter of the splats2.7 MB36.50.14233.5
SOG after our retraining, a quarter of the splats2.88 MB38.20.05939.5
XSPL, a quarter of the splats1.67 MB37.10.07137.5
XSPL, every tenth splat0.75 MB35.10.10935.9

At 1.67 MB our file is 38% smaller than the off-the-shelf result and looks closer to the original: LPIPS drops by half. At 0.75 MB it is 3.6 times smaller than SOG with a quarter of the splats. Its PSNR is lower (35.1 against 36.5 dB), but LPIPS is better (0.109 against 0.142) and so is the view from outside (35.9 against 33.5 dB).

What worked and what did not

Most of the gain comes from retraining, and less from the file format than you might expect. We checked it directly: the same retrained scan saved as SOG also looks good (2.88 MB, 38.2 dB). Our format makes it 42% smaller and pays about 1.1 dB for it. If you need the last bit of quality, retrain and save as SOG. If size is what matters, use XSPL.

We got two things wrong on the way. The first version ranked splats using only cameras inside the office, so splats seen only from outside were thrown away and the view from above came out torn, at 29.7 dB. The fix lifted it to 37.6 dB. We only caught it because a separate review of the code and results, done before every stage moved on, asked for a harder test set. We also tried one shared dictionary for size and rotation. The file shrank by 20% but the picture lost 1.3 dB, so we went back to two dictionaries. Predicting each entry number from its neighbour would save about 5%, which is not worth a more complex decoder.

Still to test: large scenes and phones

If you run a venue and want fans to see their view before they buy, see what a pilot includes and book a call with the founder. How the same office was split into movable objects is in our office scan case study.

Open the live office scan (0.75 MB)

Questions and answers

What is 3D Gaussian splatting?

A way of storing a 3D place as about a million small, soft, coloured blobs instead of triangles. From any angle it looks almost like a photograph. Each blob stores position, size, rotation, colour and transparency, which is why the files are large.

How big is a Gaussian splat scan of a room?

Our two-room office scan has 958,309 splats and weighs 51.2 MB as a PLY file. Saved as SOG with no visible quality loss (PSNR 56.9 dB) it is 10 MB. After our retraining and XSPL format it is 1.67 MB or 0.75 MB, depending on how much detail you keep.

Can you compress a splat scan without the original photos?

Yes. We render the original scan from 6,000 virtual cameras and use those pictures as the training photos. A version with a quarter or a tenth of the splats learns to look like the original from the same cameras.

Does a compressed splat scan work on a phone?

Probably yes, but we have not measured it yet. The 0.75 MB file decodes in 24 to 40 ms in a browser on a desktop PC, and three.js and Spark run on phones. We will measure on a real iPhone and Android and publish the results here.

How do you compress a Gaussian splat file, and how do PLY, SPZ and SOG differ?

PLY is the raw, uncompressed format, 51.2 MB for our scan. SOG from PlayCanvas and SPZ from Niantic are compressed formats; SOG took our scan to 10 MB with no visible loss. To get below 3 MB you have to drop splats and retrain the rest, which gives most of the gain whatever the format. Our own XSPL format is about 42% smaller than SOG on the same retrained scan (1.67 MB against 2.88 MB), for about 1.1 dB of PSNR. We did not measure SPZ.

Do viewers need to install an app to see the scan?

No. The scan opens in an ordinary web browser. The page loads three.js and Spark, unpacks the file and draws it, with nothing to install.

All numbers come from one scan of our office and measurements of 30 November 2026, so we do not yet know how the results hold up on large scenes. The reference is a render of the original scan, not photos of the office: PSNR says how faithfully the file reproduces the scan. XSPL is our own format without a public specification. Tools: XGRIDS L2 Pro and LCC Studio, PlayCanvas splat-transform 3.12 (SOG), gsplat 1.5.3 for rendering and measurement, three.js 0.180 and Spark 2.4 in the browser. Method: Kerbl et al., 2023. LPIPS: Zhang et al., 2018, AlexNet variant, at 1280×720.

Read also
Case study: from a five-minute room scan to a digital twin you can rearrangeCase study: what one camera told us about how people use a courtyardThe case was dropped because no one had time to watch the footageNight shift, two people, forty camerasA sofa bed by the bins and four days of footageThe trail camera took the photo. Who will look at it?A car stalls on the tracks. The signaller knows within secondsThe security queue builds at 5:40, and only two lanes are openHow many spaces are free? The camera already knows