Repository navigation
Releases
1.1.0
Splat3D 1.1.0 adds the API's processing estimate to the Swift SDK.
.package(url: "https://github.com/splat3d/splat-swift-sdk", from: "1.1.0")Added
SplatScene.estimatedTimeRemaining: seconds until the scene completes while it processes, from the API'seta_seconds(API 1.8.0). It is the estimate the Splat3D dashboard shows and can move either way between polls.nilonce the scene is done, inlistScenes()pages, and from older APIs.
No breaking changes. The full list is in CHANGELOG.md.
1.0.0
Splat3D 1.0.0: the Swift SDK for the Splat3D API. Turn a video into a 3D Gaussian Splatting scene from an iOS app.
.package(url: "https://github.com/splat3d/splat-swift-sdk", from: "1.0.0")What 1.0 includes
- All eleven operations of the public API: create, process, get, list (one page at a time, or every page as a
SceneSequence), update, retrain, cancel, delete, download (SPZ, SOG or PLY), thumbnail and usage. createAndProcess: upload, launch and wait in one call, with progress.- Launches that never charge twice. Every launch sends an
Idempotency-Key, and an interrupted run continues withresume(_:), or after the app is killed withresume(sceneID:…). - Automatic retries for network failures, 5xx and rate limits, with backoff and
Retry-After. - Typed errors:
SplatError.APIErrorcarries the HTTP status, the API's error code, message and request ID.
ARKit capture
SplatScanner records the video together with ARKit camera poses, and LiDAR points on devices that have the sensor. The pipeline uses the poses to set the scene upright from gravity.
SplatCapture is the reference app: capture, upload, progress, thumbnail, 3D view and delete, with a screen for every way a run stops.
Versioning
From 1.0.0 the SDK follows Semantic Versioning: a breaking change to the public API comes only in a new major version.
Upgrading from 0.1.0
The module is now Splat3D (formerly SplatKit) and Scene is now SplatScene. The full list of breaking changes, with migrations, is in CHANGELOG.md.
Requires iOS 16 and Swift 5.10 (Xcode 15.3).