Browse workflows
AI 3D, splats and rigging

visloc-rs: a pure-Rust SfM, SLAM and 3D Gaussian Splatting pipeline using wgpu

visloc-rs v0.5.0 packages Structure from Motion, visual-inertial SLAM, and wgpu 3D Gaussian Splatting into pure Rust.

From the makerFreeOpen sourceLocal
Comparison from visloc-rs showing an input photo of a brick building alongside its trained 3D Gaussian splat and extracted mesh.
Image: Ryosuke Sasaki

Developer Ryosuke Sasaki open-sourced visloc-rs on GitHub, implementing Structure-from-Motion, visual-inertial SLAM, 3D Gaussian Splatting and map-based localization in pure Rust using wgpu for cross-platform GPU acceleration without C++, OpenCV or CUDA dependencies. In a street-walk demo, 360-degree footage is rebuilt directly into a splat scene for robot simulation.

Why it mattersA self-contained, CUDA-free Rust pipeline for turning street or indoor captures into splat environments.

What is new

Developer Ryosuke Sasaki released visloc-rs v0.5.0 as a self-contained Rust workspace covering Structure from Motion (reconstructing 3D camera poses from photos), visual-inertial SLAM (tracking camera motion with IMU sensors), 3D Gaussian Splatting, and map-based localization. It compiles with Rust 1.88 or newer without any C++, OpenCV, or CUDA build dependencies.

How it works and benchmarks

visloc-rs uses wgpu to run SIFT feature extraction, GPU bundle adjustment, Gaussian splat training, and mesh extraction across Vulkan, Metal, DirectX 12, and WebGPU backends, reading and writing standard COLMAP format files. According to the repository benchmarks, a single gsplat_photos command turns 5,822 city-block photos into 5,583 camera poses, a 4.7-million-Gaussian splat, and a 5.9-million-triangle mesh in 2.5 hours.

  • ETH3D Electro (1,200 images): 3.50 cm error with a mapper 3.46 times faster than COLMAP 3.9 CPU
  • Gaussian splatting across five benchmark scenes: trains faster than brush 0.3 on all five while staying within 0.05 dB PSNR on four
  • EuRoC stereo-inertial SLAM: 0.031 m mean error across all 11 sequences and zero diverged runs across 42 field tests

Availability and formats

Dual-licensed under MIT or Apache-2.0, visloc-rs is available via cargo add visloc-rs, pip install visloc for Python, standalone ROS 2 nodes with Nav2 integration, and live WebAssembly browser demos for photo SfM, visual-inertial odometry, and splat viewing.

More from this issue

All 81 stories
Make videos with these toolsOur workflows turn Blender, Unreal, ComfyUI and AI video into finished Shorts, explainers and reels. Claude sets them up for you.
Browse workflows