3D Gaussian Splatting Workflow // P4.3

Live Viewer: @sparkjsdev/spark WebGL[Roadmap: M3–M4] Splat-Centre Vectorization

XGRIDS PortalCam 3DGS (.PLY / .SPZ / .LCC) Open-Trench As-Built Verification

Use PortalCam 3D Gaussian Splatting for instant remote supervisor review while enforcing strict ASCE 38-22 / PAS 128 accuracy boundaries between visual evidence and survey-grade geometry.

Tier 2 Field Input

XGRIDS PortalCam -> LCC Studio (.PLY / .LAS point export + .PLY / .SPZ 3DGS; .LCC archived as opaque evidence)

Deliverable Split

Visual Evidence: HTTP 206 streamed WebGL scene on view.ruumica.com | Vector CAD [M4]: SPLAT_CENTRES tied to AprilTag GCPs

Visual Record vs. Survey-Grade CAD Boundary

Live Now (M1–M2)
R2 HTTP 206 byte-range streaming and @sparkjsdev/spark WebGL inspection on view.ruumica.com (behind STAGING_PIN), SHA-256 blob hashing, and M2 dxf-ee / GeoPackage / Typst PDF/A-2b packaging are LIVE today.
Documented Waivers
Proprietary .LCC container parsing is intentionally omitted — .LCC is archived as opaque SHA-256 evidence only while geometry must originate from LCC Studio .LAS / .PLY exports.
Roadmap Scope (M3–M6)
Automated splat-centre filtering (sigmoid(opacity) > 0.5, max(exp(scale)) < 0.02 m) and cross-section vectorization (crates/spatial-vector) are [Roadmap: M3–M4].

How asbuilt Treats PortalCam .LCC, .SPZ, and .PLY Exports

In docs/03-scan-to-vector.md §3.1, XGRIDS PortalCam sits at Tier 2. Because .LCC is a proprietary format, asbuilt never attempts undocumented binary reverse-engineering on it: the raw .LCC file is hashed with SHA-256 and retained as opaque evidence, while visual browser streaming uses compressed .SPZ / .PLY scenes served via @sparkjsdev/spark over R2 HTTP 206 range requests.

For metric CAD extraction [Roadmap: M3–M4], geometry enters from the LCC Studio .LAS or .PLY export. When ingesting a 3DGS .PLY file, Stage 1 filters Gaussian primitives to splat centres with sigmoid(opacity) > 0.5 and max(exp(scale)) < 0.02 m, tagging the resulting pseudo point cloud with source = SPLAT_CENTRES and a lower confidence weight than Tier 1 LiDAR points.

Quality Level (QL-A..QL-D) Discipline & Browser RTC Precision

Photorealistic 3DGS scenes solve supervisor site-visit bottlenecks immediately: an owner engineer can inspect cable bedding, warning tape, and bend radii in the browser before backfilling without driving to site.

However, visual fidelity never substitutes for geodetic control. Unreferenced Tier 3 phone scans (.USDZ) without surveyed control are permanently capped at QL-D and rejected by the vector pipeline. Tier 2 PortalCam geometry can only propose QL-A when tied to surveyed AprilTag/checkerboard CONTROL targets and independently verified against withheld CHECK targets within the registration budget (50 mm H / 25 mm V default in Estonia).

Inside the WebGL inspector, L-EST97 northings (~6.59 x 10^6 m) exceed single-precision float32 resolution (~0.5 m). Viewer overlays subtract a per-scene double-precision (f64) Relative-To-Center (RTC) origin before uploading GPU buffers so picks remain accurate to the millimetre.

Capture Tier Comparison: Tier 1 LiDAR vs. Tier 2 PortalCam 3DGS vs. Tier 3 Phone

TierHardware & OutputGeometry Source & RuleMax Quality LevelCurrent Status
Tier 1 (Primary)XGRIDS Lixel L2 Pro -> LixelStudio (.LAS / .LAZ + trajectory + RTK)Direct LAS 1.4 RGB/intensity + GPS time; full drift spline + RANSAC pipe fitQL-A (with CHECK RMSE <= 50/25 mm & >= 95% coverage)Viewer Live · Vector Pipeline [Roadmap M4]
Tier 2 (Visual + Controlled Point Export)XGRIDS PortalCam -> LCC Studio (.PLY / .SPZ / .LCC).SPZ/.PLY streamed in Spark; .LCC stored opaque; splats filtered sigmoid(opacity)>0.5 & scale<0.02 m (SPLAT_CENTRES)QL-A only if GCP-registered & CHECK RMSE passes; else visual evidence / QL-C..DSpark R2 Streaming Live · Vector [Roadmap M4]
Tier 3 (Context Only)Phone ARKit / RoomPlan (.USDZ / mesh + geotagged photos)Web Geolocation API yields AUTONOMOUS datum; no surveyed controlQL-D only (never eligible for QL-A)Evidence SHA-256 Live · Sync [Roadmap M3]

Workflow: Combining PortalCam 3DGS Evidence with Compliant CAD

  1. Place AprilTags before closing the open trench

    Anchor the open trench with surveyed CONTROL and withheld CHECK targets so LCC Studio exports can tie into L-EST97 / EUREF89.

  2. Stream .SPZ scene for remote supervisor sign-off

    Upload the compressed .SPZ scene alongside the opaque .LCC archive so stakeholders inspect trench conditions via @sparkjsdev/spark in WebGL.

  3. Combine controlled survey vectors into closeout exports

    Validate node/span coordinates in /tools/lest97-eh2000-converter and check exported .DXF layers in /tools/dxf-layer-auditor.

3DGS & PortalCam Terminology

SPLAT_CENTRES Filtering Rule
Stage 1 threshold selecting 3DGS primitives with sigmoid(opacity) > 0.5 and max(exp(scale)) < 0.02 m as pseudo point clouds with reduced confidence relative to Tier 1 LiDAR.
RTC (Relative-To-Center) f64 Origin
Subtracting a double-precision scene origin in the browser before passing coordinates to WebGL float32 shaders, eliminating ~0.5 m jitter on 6.5 million-metre L-EST97 northings.

Download Sanitized 3DGS & Trench Sample Pack (/samples/ee-trench-15m/)

manifest.sha256

Inspect a compact 3DGS splat/point preview (.PLY) aligned with the 15 m L-EST97 trench corridor and deterministic closeout CAD/GIS deliverables.

Synthetic 3DGS & trench corridor sample only (zero proprietary .LCC dumps, zero EST-GEOID2017 .tif grids). Provisional ASB_* layers apply.

File Format Size SHA-256
ee-trench-portalcam-sample.ply 3DGS Splat/Point Preview (.PLY, SPLAT_CENTRES) 20 KB 9c42b1e2b2c5aa3d…
ee-trench-15m.laz LAS 1.4 Corridor Reference (.LAZ) 1.5 KB 33515c0c6c141f03…
ee-demo.dxf AutoCAD ASCII AC1032 (.DXF, Provisional ASB_*) 59 KB 753e4f15ab92e868…
ee-demo-closeout.pdf Typst PDF/A-2b Closeout Book 148 KB 997bf5d96bd1314c…
WAIVERS.txt Waiver & Truth Notice 0.9 KB c406e4074a090026…