Giter Site home page Giter Site logo

sundae-viewer's Introduction

License

The codes originated from nerfstudio-gaussian-splatting and NeRFStudio are licensed under the Apache-2.0 license.

The submodules/diff-gaussian-rasterization (License), submodules/simple-knn, some codes and files copied from graphdeco-inria/gaussian-splatting (License) that used to implement gaussian splatting here are separately licensed.

Gaussian Splatting Viewer & Render

NOTE

  • Not well tested, rendering only (no training), not as fast as SIBR viewers
  • The render quality of the nerfstudio web viewer could be the same as the SIBR viewers. You need to
    • increase the render resolution (the Max Res option under the CONTROLS tab)
    • increase jpeg quality (--config.viewer.jpeg-quality 100) or switch to png format (--config.viewer.image-format png)
  • The default orientation may not correct, you can
    • add --no-auto-reorient option to run_viewer.py or render.py if you want the viewer use the same coordination system as the input dataset
    • click RESET UP DIRECTION under the "SCENE" tab to use your current viewpoint as the orientation
    • use --ref-orientation IMAGE_NAME option to specific an image as the reference orientation
  • Hold down the right button of your mouse to move the camera a little bit before pressing W, or your camera may be frozen after moving a short distance.
  • Press F5 to refresh the page if the web viewer stops updating the content (not sure why currently, hard to reproduce). If you are creating camera path, click 'EXPORT PATH' to download your camera path before refreshing, and you can click 'LOAD PATH' to restore from the downloaded file later.

Installation

Step-1

Install nerfstudio dependencies. You must run pip install -e . for this repository if you reusing a virtual environment of other nerfstudio

Step-2

pip install plyfile==0.8.1
pip install ./submodules/diff-gaussian-rasterization
pip install ./submodules/simple-knn

Usage

Viewer:

python nerfstudio/scripts/gaussian_splatting/run_viewer.py --model-path GAUSSIAN_TRAINING_OUTPUT_MODEL_DIR --config.pipeline.model.nn-com-path UNET_NAME

Render:

python nerfstudio/scripts/gaussian_splatting/render.py camera-path \
    --model-path GAUSSIAN_TRAINING_OUTPUT_MODEL_DIR \
    --camera-path-filename YOUR_CAMERA_PATH_FILE.json \
    --output-path YOUR_OUTPUT_MP4_FILE.mp4

sundae-viewer's People

Contributors

jike5 avatar

Stargazers

 avatar WuKe avatar origami dance avatar Stoney Kang avatar  avatar

Watchers

Runyi Yang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.