web-splat

KeKsBoTerApache-2.0活跃维护

用 Rust 和 WebGPU 实现的 3D Gaussian Splatting 渲染器,让浏览器端也能高效渲染三维高斯泼溅场景。

3D Gaussian Splatting Renderer implemented in WebGPU (WGPU) and Rust

v1.0.0发布于 2024-01-18 21:53 UTC314star +2 / 7 天35fork同步于 2026-11-10 18:02 UTC

怎么上手

由 README 提炼,执行前请确认
cargo build --release --bin viewer
cargo run --release --bin viewer point_cloud.ply cameras.json
硬件要求按 README 说明

README 未说明显存要求;性能数据基于 NVIDIA 3090 RTX(>200 FPS)和 AMD Radeon R9 380 Series(约 130 FPS),测试分辨率为 1200x799。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用 Rust 和 WebGPU 实现的 3D Gaussian Splatting 渲染器,可在浏览器里实时查看重建场景

用 Rust 和 WebGPU 实现的 3D Gaussian Splatting 渲染器,让浏览器端也能高效渲染三维高斯泼溅场景。

核心能力

  • 用 WGPU 在 GPU 上渲染 3D Gaussian Splatting 重建结果
  • 移植 Fuchsia RadixSort 到 WGPU,在 GPU 上对 splat 排序
  • 支持加载 3DGS 生成的 point_cloud.ply 与 cameras.json
  • 开启 npz feature 后可读取压缩的 npz 文件
  • 提供可直接访问的网页 demo

容易踩的坑

需要先用 3D Gaussian Splatting 生成 point_cloud.ply 和 cameras.json 才能运行;加载 npz 压缩文件时必须加 --features npz,否则不支持;需先安装 Rust 编译器(如 rustup)。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

1 个版本v1.0.0
  1. v1.0.0Examples Viewer Files最新正式版2024-01-18 · 2024-01-18 21:53 UTC

    Some examples scenes

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Example Render generated by the renderer

    3D Gaussian Splatting Renderer implemented in WebGPU (WGPU) and Rust

    This code implements a renderer for the reconstructions obtained with 3D Gaussian Splatting

    👉 Click to run the web demo 👈

    Build

    First, install the Rust compiler (e.g. with rustup)

    Clone the repository and run

    cargo build --release --bin viewer 
    

    Run

    Use the point_cloud.ply and cameras.json files generated by 3D Gaussian Splatting:

    cargo run --release --bin viewer point_cloud.ply cameras.json
    

    To load compressed npz files the npz feature must be enabled:

    cargo run --release --features npz --bin viewer point_cloud.npz cameras.json
    
    Usage: viewer [OPTIONS] <INPUT> [SCENE]
    
    Arguments:
      <INPUT>  Input file
      [SCENE]  Scene json file
    
    Options:
          --no-vsync  
      -h, --help      Print help
      -V, --version   Print version
    

    About

    Splat Sorting : We ported the Fuchsia RadixSort to WGPU for sorting the splats on the GPU.

    Performance: The renderer reaches >200 FPS on a NVIDIA 3090 RTX and ~130 FPS on a AMD Radeon R9 380 Series (8 years old). Measurements where taken for the bonsai scene at 1200x799 resolution.

    Citation

    If you find our work useful, please cite:

    @misc{niedermayr2023compressed,
        title={Compressed 3D Gaussian Splatting for Accelerated Novel View Synthesis}, 
        author={Simon Niedermayr and Josef Stumpfegger and Rüdiger Westermann},
        year={2023},
        eprint={2401.02436},
        archivePrefix={arXiv},
        primaryClass={cs.CV}
    }