Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cheind committed Sep 1, 2023
1 parent ff987db commit c3a1d48
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ See [examples/compare.py](examples/compare.py) for details and [doc/SDF.md](doc/
- Quad/Triangle topology support
- Vertex/Face normal support
- Tools for programmatically creating and modifying SDFs
- Plotting support for reconstructed meshes using matplotlib
- Importing volumetric SDFs from NeRF tools such as [instant-ngp](https://www.google.com/search?channel=fs&client=ubuntu-sn&q=instant-ngp) and [NeuS2](https://github.com/19reborn/NeuS2)
- Inline plotting support for reconstructed meshes using matplotlib
- Exporting (STL) of tesselated isosurfaces

## Documentation
Expand Down Expand Up @@ -103,9 +104,34 @@ The examples can be found in [./examples/](./examples/). Each example can be inv
python -m examples.<name>
```

## Gallery
### Mesh from NeRF

Here are some additional plots from the library
This library supports loading SDFs from density fields provided by various NeRF implementations (instant-ngp and NeuS2). These discretized SDF fields can then be manipulated/triangulated using **sdftoolbox** routines.

The following image shows the resulting triangulated mesh from the Lego scene generated by **sdftoolbox** from an instant-ngp density image atlas.

![](doc/nerf/naive25600.png)

Command

```shell
python -m examples.nerf2mesh \
-r 256 -t 4.0 -o -1.5 -s 0.0117 \
--sdf-flip \
doc/nerf/density.png
```

Note, meshes generated by **sdftoolbox** seem to be of better quality than those generated by the respective NeRF tools. The following compares a low-res reconstruction (res=64,drange=1) of the same scene

| sdftoolbox | NeuS2 |
| :-----------------------: | :-----------------------: |
| ![](doc/nerf/naive01.png) | ![](doc/nerf/neus200.png) |

See https://github.com/19reborn/NeuS2/issues/22 for a discussion

### Gallery

Here are some additional plots from various examples

<div align="center">
<img src="doc/normals.gif" width="50%">
Expand Down
Binary file added doc/nerf/density.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nerf/dual03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nerf/midp02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nerf/naive01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nerf/naive25600.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nerf/neus200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit c3a1d48

Please sign in to comment.