Skip to content
المشاريع

حول

3d gaussian splat client training platform

التصميم والوسائط

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

DIVSHOT

Note: This project is no longer maintained. I have reorganized it into a new project: https://github.com/fenghuayumo/photara-studio. The training speed is exceptionally fast, and I recommend using this one.

Introduction

A lightweight radiance field renderer and training platform client that supports flexible editing tools for editing and cropping trained Gaussian splats for export, as well as rendering them to images or videos.

It originated from a 2023 paper gaussian-splatting. Initially, it was created for learning purposes to implement this paper in C++, aiming to build a real-time visualization training tool similar to instantngp. After the emergence of SuperSplat, I was inspired to expand its functionality. After 2 years of spare time development, it has now become a comprehensive and practical tool.

Screenshots

DIVSHOT DIVSHOT DIVSHOT splat --> mesh --> texturemesh DIVSHOT

User Guide

Video Examples

Note: Please ensure you update to the latest graphics card driver, otherwise there may be some issues.

Explanation: The current program consists of 2 parts: the training part and the rendering/editing part. These two parts are relatively independent and decoupled. Currently, the open-source code includes the rendering and editing part, which is written using Vulkan and C++, meaning it can be compiled and run on multiple platforms. The training part is implemented using libtorch C++ and CUDA, which requires running on NVIDIA graphics cards. Although CUDA can be run on AMD graphics cards through the AMD HIP technology framework, this requires additional development time and will be completed in the future.

Operating systems:

  • Windows
  • Mac (Will be in future)
  • Linux (Will be in future)

Note: Currently refactoring a new framework to support multi-platform training, planned to be named RadField Studio. It will become a professional scanning tool for CG workflows. Stay tuned!

Run

For general users, you can directly use the latest Release installation package, which includes all dependencies and can be run directly.

Note: The training source code does not provide SFM calculation for camera poses and point clouds. Please use third-party software to process and obtain them, then drag the corresponding files to the viewport. Currently supports Colmap, RealityCapture, NerfStudio, MetaShape.

Project structure

Directory Details
/diverse the core rendering lib including render lib an other useful function
/application/editor the editor exe, main program
/application/diverseshot-cli gsplat training console exe
/diverse_utils/gstrain the core gsplat training lib which use gsplatrast lib to forward and backward render, contains data loader process
/external external lib

Build

Windows

you should install compile build tools and package firstly

  1. VS2022
  2. Cuda SDK (Cuda 12.8)
  3. Vulkan SDK
  4. CMake
  5. Python

Set PY3_PATH="Python3 install directory" and VCPKG_ROOT="vcpkg.exe directory" enviroment variable

Building and running

pip3 install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128

git clone https://github.com/fenghuayumo/DIVSHOT.git
git submodule update --init --recursive

$env:VCPKG_ROOT\vcpkg.exe install opencv[core,contrib,ffmpeg]:x64-windows
$env:VCPKG_ROOT\vcpkg.exe install \
    glm:x64-windows \
    tinyply:x64-windows \
    libarchive:x64-windows \
    libwebp:x64-windows \
    zlib:x64-windows \
    nlohmann-json:x64-windows \
    tl-expected:x64-windows

$env:PY3_PATH         # Python PATH
$env:CUDA_PATH        # CUDA PATH  
$env:VK_SDK_PATH      # Vulkan SDK PATH
$env:VCPKG_ROOT       # vcpkg PATH: D:\XXXX\vcpkg)
powershell -ExecutionPolicy Bypass -File .\build.ps1

Note: Please set "D:\XXXX\Pyton3\Lib\site-packages\torch\lib" to PATH enviroment variable

Problem

If you have any questions or ideas about 3D reconstruction and graphics, feel free to join the following communities. If you speak Chinese, you can join the QQ group or WeChat group below.

QQ Group WeChat Group
QQ Group WeChat Group

Credits

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…