Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


VECTRA


The Quarantine Matrix, Constraining Neural Hallucinations in 3D Gaussian Environments


AbstractVideo DemoIntroductionArchitectureRequirementsRead paper


Python Three.js FastAPI VRAM



Abstract

As spatial computing and generative artificial intelligence converge, the necessity for robust, secure, and highly optimized integration architectures becomes strictly paramount. The Vectra Spatial Computing Protocol bridges the gap between high-fidelity digital twins and localized generative AI pipelines without relying on external cloud computing.

By enforcing a strictly decoupled, asynchronous client-server architecture, computationally expensive deep learning models (U2-Net, SDXL-Lightning, and TripoSR) are successfully orchestrated on constrained consumer-grade edge hardware (strictly within an 8GB VRAM threshold). Furthermore, the introduction of the Deep Splat Excavation (DBSE) algorithm resolves critical spatial occlusion problems inherent to dense Gaussian Splatting environments. This methodology lays the foundational groundwork for embedding definitive mathematical safeguards into the next generation of spatial rendering pipelines.


Video Demonstration

To fully observe the interactive nature of the Vectra Spatial Computing Protocol, including the non-blocking rendering loop and the real-time VRAM orchestration, please review the supplementary video demonstration below.

Vectra - Quarantine Matrix Demonstration
Click the image to watch the video

Introduction

Integrating AI-generated 3D assets into scanned physical environments traditionally suffers from severe hardware bottlenecks and geometric visual artifacts (such as Z-fighting and object clipping). Vectra solves this through two primary computational innovations:

  • The Edge-Computed Generative Pipeline: A robust local GPU Forge that aggressively manages memory cycles to prevent Out-Of-Memory (OOM) kernel panics when generating meshes via localized Text-to-3D and Image-to-3D prompts.
  • Non-Destructive Spatial Masking: Instead of permanently altering source point cloud data, the system mathematically calculates volumetric raycast bounds to dynamically override shader alpha values, allowing new assets to spawn seamlessly within the original spatial coordinates.

System Architecture

Client-Side (The Viewport)

Operates entirely within a standard web browser. Strictly responsible for real-time interaction, asynchronous data transmission, and physics calculations.

  • Rendering: Three.js + gsplat.js
  • Physics Middleware: Cannon.js
  • UI Architecture: Asynchronous Glassmorphism

Server-Side (The GPU Forge)

An autonomous Python backend hosting the neural networks, systematically managing VRAM flushing protocols.

  • Computational Core: FastAPI
  • Semantic Masking: U2-Net
  • Volumetric Forging: TripoSR
  • Latent Generation: SDXL-Lightning (FP16)

Hardware Requirements

Strict Memory Constraint Warning: This protocol is explicitly engineered to run on standard edge-computing hardware. Attempting to bypass the sequential loading limits without sufficient hardware architecture will result in immediate CUDA OOM errors.

  • GPU: NVIDIA RTX 4060 (or equivalent architecture)
  • VRAM: 8GB Minimum (System usage peaks at roughly 7.8GB during TripoSR inference)
  • OS: Ubuntu / Debian-based Linux environment is highly recommended for deep learning and tensor dependencies.

Core Features & Protocols

► Click to expand: Deep Splat Excavation (DBSE)


The DBSE protocol solves spatial occlusion by capturing a 2D bounding box from the viewport, mapping it to absolute WebGL coordinates, and transmitting the pure pixel data payload. The rendering engine evaluates the spatial coordinates of every Gaussian splat against the defined 3D volume, dynamically overriding opacity values to zero in the fragment shader to mathematically excavate a clean void for the newly generated asset.

► Click to expand: Sequential VRAM Orchestration


To guarantee the 8GB VRAM limit is never breached, neural networks are strictly prevented from loading simultaneously. The system loads SDXL-Lightning in half-precision (FP16), generates the 2D tensor, entirely purges the cache via torch.cuda.empty_cache(), invokes the garbage collector, and only reallocates memory for TripoSR once the GPU ceiling returns to baseline.


Citation & Research

If you utilize this protocol, the VRAM orchestration logic, or the Deep Splat Excavation (DBSE) algorithm in your own academic research, please cite the associated Master's Thesis:

@article{vectra2026,
  author  = {Parsa Besharat},
  title   = {Vectra: The Quarantine Matrix, Constraining Neural Hallucinations in 3D Gaussian Environment},
  school  = {TU Bergakademie Freiberg},
  year    = {2026}
}

Engineered for secure, edge-computed spatial artificial intelligence.

About

3D Gaussian splatting from text and image

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages