Skip to content
All projects
3D Spatial Computing · Research prototype Live · 2026

Vectra

The Quarantine Matrix: constraining neural hallucinations in 3D Gaussian environments

Generates 3D objects from text or images and drops them into scanned Gaussian-splat environments without breaking the scene. The whole generative stack runs on one consumer 8 GB GPU, with no cloud.

60 FPS
Browser viewport while idle
30 FPS
Still navigable during inference
7.8 GB
Peak VRAM, inside the 8 GB budget
120 s
Average round trip, slice → textured mesh

Purpose

Why Vectra

Digital twins and generative AI are converging, but putting an AI-generated object into a scanned real-world space is still painful. It usually needs cloud GPUs, and the result often clips through walls or flickers against the scene. Vectra makes it work locally, on one consumer GPU, with clean geometry.

  • Hardware bottlenecks

    Text-to-image and image-to-3D models together exceed consumer VRAM and crash with out-of-memory errors when loaded at once.

  • Geometric artefacts

    New meshes inside dense Gaussian-splat scenes suffer from occlusion, Z-fighting and clipping.

  • Cloud dependence

    Sending scans and prompts to an external service adds cost, latency and privacy risk.

What Vectra does about it

Vectra runs the full generation pipeline on an 8 GB edge GPU, carves a clean space in the scene without touching the source data, and confines every generated asset to validated coordinates.

Abstract

In short

Generative AI is rewriting how 3D content is made, yet turning everyday 2D inputs such as text prompts and flat images into interactive 3D objects is still a bottleneck. Vectra is an end-to-end framework that generates, extracts and simulates 3D objects directly from simple visual and textual input, inside a photorealistic scan of a real space. A decoupled client–server design keeps the browser at real-time frame rates while the heavy models run on a local GPU, and the Deep Splat Excavation algorithm lets new objects sit inside dense Gaussian-splat scenes without clipping.

Exploration Mode

Select documentation perspective

Pipeline

Four pipelines, one GPU

From the paper: how a real space is captured, how objects are extracted or created, and how they become physical. Models run one after another, never side by side, so every chain fits inside 8 GB of VRAM.

  • Data
  • Model / compute
  • Processing
  • Control step
  • Output / guard
1 Environment acquisition A real university hallway becomes a navigable, photorealistic scene in the browser.
  1. 1 LiDAR + photogrammetry Scan the real space
  2. 2 Point cloud Geometry + colour
  3. 3 3D Gaussian splats Position · covariance · SH · α
  4. 4 gsplat.js · WebGL Tile rasteriser, depth-sorted
2 Extraction · image → 3D Select any object in the scene and turn it into an independent 3D asset.
  1. 1 Viewport selection 2D box → off-screen capture
  2. 2 U²-Net mask rembg on CUDA
  3. 3 Alpha flattening Pure white background
  4. 4 TripoSR Triplane → NeRF → marching cubes
  5. 5 DBSE + inject .glb at excavated centroid
3 Creation · text → 3D Sequential VRAM orchestration keeps the chain under 8 GB.
  1. 1 Text prompt Semantic intent
  2. 2 SDXL-Lightning FP16 · 2D image
  3. 3 Flush VRAM empty_cache + GC
  4. 4 TripoSR Peak 7.8 GB
  5. 5 Spawn .glb Into the scene
4 Interaction · physics Splats have no physical body, so an invisible physics world runs alongside them.
  1. 1 Scene bounds Floor + wall clusters
  2. 2 Static colliders Cannon.js, infinite mass
  3. 3 Dynamic rigidbody Mass · friction · restitution
  4. 4 Per-frame sync Position + quaternion → Three.js

System topology · decoupled and asynchronous

Client · presentation layer

Runs entirely in a standard browser: renders the splat scene, captures user intent and runs collision physics. It never runs a model and never blocks while one is running.

  • Three.js
  • gsplat.js
  • Cannon.js

Server · local GPU forge

A FastAPI backend on a consumer GPU that cycles the models through VRAM and returns a lightweight textured .glb mesh.

  • FastAPI
  • U²-Net
  • SDXL-Lightning (FP16)
  • TripoSR

Method

How it works

  1. 01

    Deep Splat Excavation (DBSE)

    Rays cast through the selected box and the depth buffer define a 3D volume. Splats inside it get their opacity set to zero in the fragment shader, a non-destructive "hole-punch" that removes clipping and Z-fighting without editing the source .ply.

  2. 02

    Sequential VRAM orchestration

    Models never load at the same time. SDXL-Lightning runs in FP16 (half the memory), the cache is purged with torch.cuda.empty_cache() plus garbage collection, and only then is TripoSR loaded.

  3. 03

    Asynchronous, non-blocking UX

    The client sends a small JSON or base64 payload and returns straight to its render loop, showing progress and ghost meshes until the .glb comes back.

  4. 04

    Quarantine Matrix

    Generated assets are confined to validated spatial coordinates, so a hallucinated object cannot escape into the rest of the digital twin.

Results

What it delivers

Outcomes

  • The full extraction and creation pipelines run on a single RTX 4060 (8 GB) with no out-of-memory crashes.
  • Rendering stays real-time during generation: 60 FPS idle, around 30 FPS while models run.
  • DBSE removed the Z-fighting and geometric intersection seen with standard additive insertion.
  • Live web portal at vectra.parsabe.com and a first-person Unity simulation built on the same kernel.

Runs on

GPU
NVIDIA RTX 4060 or equivalent
VRAM
8 GB minimum · peaks at 7.8 GB during TripoSR
OS
Ubuntu / Debian-based Linux recommended
Cloud
None required: everything runs locally

Two products, one repository

Acknowledgements

Developed at TU Bergakademie Freiberg. Vectra builds on the open-source U²-Net (rembg), SDXL-Lightning, TripoSR, gsplat.js, Three.js and Cannon.js projects.

BibTeX

@misc{vectra2026,
  author      = {Besharat, Parsa},
  title       = {{Vectra}: The Quarantine Matrix, Constraining Neural Hallucinations in 3D Gaussian Environments},
  year        = {2026},
  institution = {TU Bergakademie Freiberg},
  url         = {https://www.researchgate.net/publication/408133286}
}

Media Preview

↑ ↓ to move · Enter to open