Skip to content

PocketSplat 0.4.0

Choose a tag to compare

@Artemarius Artemarius released this 24 Nov 12:36
· 23 commits to main since this release

PocketSplat 0.4.0 stores the SH 1 colour terms as a palette. An SH 1 scene now takes 28 bytes per splat on the GPU, the same as SH 0, instead of 40. Scenes also open on a better start view on a portrait phone.

Downloads

File What it is
pocketsplat-0.4.0.apk Android app. arm64, Android 13+, a Vulkan 1.3 GPU. Tested on a Galaxy S24 Ultra (Adreno 750) and a Galaxy S25 Ultra (Adreno 830). Installs over 0.1.0–0.3.0 as an update (same signing key). Side-load it: allow installs from your browser or file manager when asked.
pocketsplat-viewer-0.4.0-windows-x64.zip Windows 10/11 viewer, no installation. Needs a GPU driver with Vulkan 1.3. The exe is not code-signed, so SmartScreen may ask once ("More info" → "Run anyway").

The slides attached to 0.3.0 still describe the renderer.

What's new

  • SH palette at import (Android and Windows). Each splat holds a 16-bit index into 4,096 SH 1 vectors, trained on the device with e-means (3 epochs).
    • Memory: at 1 M splats the GPU pack is 28.2 MB instead of 40.1 MB.
    • Speed: preprocess is 2–4 % faster than direct SH 1 on both phones.
    • Image quality at the worst of six poses, against direct SH 1: 41.8–52.4 dB on the test scenes. SH 0 scores 29.6–38.7 dB.
    • Import time on the S24 Ultra: +4.5 s at the 1 M default, +19.6 s for a 4 M scene. On the S25 Ultra: +3.0 s and +13.0 s.
    • On by default. The import screen's "SH palette" switch turns it off on Android; the Windows viewer always uses it.
    • Details: docs/decisions/ADR-0017-sh1-palette.md and docs/e-means-vs-lloyd.md.
  • Your scenes keep working. Packs written by 0.1–0.3 open unchanged, with no re-import. Import a scene again to get the palette.
  • Better start view on a portrait phone.
    • The view a scene opens on is now chosen for the screen's real shape, about 30° across. Before, the subject often ran off the sides.
    • Beetle opens on the whole car, counter on the whole counter, bicycle on the bike and bench.
    • Landscape screens and the Windows viewer keep the previous choice.
  • Statues and other single objects open upright. On museum1 and racoonfamily, a flat face of the object was taken for the ground, so they opened turned by about 85°.
  • Steadier start view. The ground-plane fit no longer depends on luck on scenes with little ground near the subject. Some scenes open at a different, level view.
    • Finding the start view takes about 0.1 s at scene open on the S24 Ultra (median 100.5 ms over 30 opens).
  • The phones now compute what the desktop computes: splatcore is built without fused multiply-adds, and the core tests pass on arm64.

Known limitations

  • A palette scene renders a few dB below direct SH 1 (41.8 dB at the worst pose of the hardest test scene). Turn the palette off at import to get exact SH 1.
  • At most 11,184,810 splats per scene on the Adreno 750 (storage-buffer range). Larger scenes open partially or can be budget-pruned on import.
  • SH degree 0 and 1 only.
  • Measured only on Adreno phones; Mali and Xclipse GPUs are untested.

APK signing certificate SHA-256: 4a:eb:1e:09:8a:05:b8:28:12:76:a0:92:e6:1a:a8:54:54:0b:d1:40:b6:8d:25:88:51:6a:ec:45:83:d1:8b:a1