A viewer for gaussian-splatting reconstructions
Project description
Overview
A viewer and some tools to work with guassian splatting reconstructions. Currently will open .ply files and gaussian splatting workspaces from the original guassian-splatting implementation. Intended primarily for testing taichi-splatting
Example data
Some example scenes can be found from the official gaussian-splatting page. Under Pre-trained models.
splat-viewer
A gaussian splatting viewer. An example of some visualizations produced by this viewer can be seen:
Arguments
usage: splat-viewer [-h] [--model MODEL] [--device DEVICE] [--debug] model_path
positional arguments:
model_path workspace folder containing cameras.json, input.ply and point_cloud folder with .ply models
options:
-h, --help show this help message and exit
--model MODEL load model from point_clouds folder, default is latest iteration
--device DEVICE torch device to use
--debug enable taichi kernels in debug mode
Keyboard Controls
Switch View mode
- 1: normal rendering
- 2: render gaussian centers as points
- 3: render depth map
Show/hide
- 0 : cropped foreground
- 9 : initial points
- 8 : camera markers
Misc
- prntsc: save high-res snapshot into workspace directory
- shift return: toggle fullscreen
Camera
-
'[' : Prev camera
-
']' : Next camera
-
'=' : zoom in
-
'-' : zoom out
-
w/s a/d q/e : forward/backward left/right up/down
-
keypad plus/minus: navigate faster/slower
Animation
- space: add current viewpoint to animaiton sequence
- control-space: save current animation sequence to workspace folder
- return: animate current sequence
- shift plus/minus: animation speed faster/slower
splat-benchmark
A benchmark to test forward and backward passes of differentiable renderers.
Example splat-benchmark models/garden --sh_degree 1 --image_size 1920
Arguments
usage: splat-benchmark [-h] [--device DEVICE] [--model MODEL] [--profile] [--debug] [-n N] [--tile_size TILE_SIZE] [--backward] [--sh_degree SH_DEGREE] [--no_sort] [--depth]
[--image_size RESIZE_IMAGE] [--taichi]
model_path
positional arguments:
model_path workspace folder containing cameras.json, input.ply and point_cloud folder with .ply models
options:
-h, --help show this help message and exit
--device DEVICE torch device to use
--model MODEL model iteration to load from point_clouds folder
--profile enable profiling
--debug enable taichi kernels in debug mode
-n N number of iterations to render
--tile_size TILE_SIZE
tile size for rasterizer
--backward benchmark backward pass
--sh_degree SH_DEGREE
modify spherical harmonics degree
--no_sort disable sorting by scale (sorting makes tilemapping faster)
--depth render depth maps
--image_size RESIZE_IMAGE
resize longest edge of camera image sizes
--taichi use taichi renderer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file splat-viewer-0.10.0.tar.gz
.
File metadata
- Download URL: splat-viewer-0.10.0.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785b191664d049d0f3ce1aac57be72b92be60b4f74d6b211213c9cf203d6b8c2 |
|
MD5 | 3881ba4ac99c7bd19833ee8ae938d038 |
|
BLAKE2b-256 | 2189e61266cc26c78380e8ef651ad71c821e016d57affb7227eb487d44876cec |
File details
Details for the file splat_viewer-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: splat_viewer-0.10.0-py3-none-any.whl
- Upload date:
- Size: 47.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d064e73dfbc569ebe4b469fd5b3cbc6b8b4c418f040cedd9c1181e177227a878 |
|
MD5 | 75813a03af770d2e4a13093c3b20696a |
|
BLAKE2b-256 | 67f837dea5669e55693abaf7cfbd70c83a91db709f326b8a7440956cd9854d81 |