mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 18:39:55 +08:00
Docs fix (#1244)
* Add the following fixes to documentation: * Fix trailing backslash in “Use docker image” section * Replace escaped backslash with double-escaped backslash (see Sphinx issue: https://github.com/sphinx-doc/sphinx/issues/6730) * Close backtick in `contributing.md` * Add “run” to instructions for “Render Video” * Remove unnecessary “,” in “Render Video” * Correct “before preceding” to “before proceeding” * Correct “viewpoinrts” to “viewpoints” * Add missing “.” in “Process data” * Specify “bash” for code blocks (for consistency with other blocks in the page) * Fix code block in `viewer_quickstart.rst` (”Copy to clipboard” widget now works) * Fix some code formatting issues in `export_geometry.md` * Correct "harmoincs" to "harmonics" in docs.
This commit is contained in:
1 parent
2082d6bcaf
commit
92636c3434
8 files changed
+39
-39
No files matched your search
@@ -6,33 +6,31 @@ Here we document how to export point clouds and meshes from nerfstudio. The main
|
||||
|
||||
### 1. TSDF Fusion
|
||||
|
||||
TSDF (truncated signed distance function) Fusion is a meshing algorithm that uses depth maps to extract a surface as a mesh. This method works for all models.
|
||||
TSDF (truncated signed distance function) Fusion is a meshing algorithm that uses depth maps to extract a surface as a mesh. This method works for all models.
|
||||
|
||||
```python
|
||||
ns-export tsdf --load-config CONFIG.yml --output-dir OUTPUT_DIR
|
||||
```
|
||||
```python
|
||||
ns-export tsdf --load-config CONFIG.yml --output-dir OUTPUT_DIR
|
||||
```
|
||||
|
||||
### 2. Poisson surface reconstruction
|
||||
|
||||
Poisson surface reconstruction gives the highest quality meshes. See the steps below to use Poisson surface reconstruction in our repo.
|
||||
Poisson surface reconstruction gives the highest quality meshes. See the steps below to use Poisson surface reconstruction in our repo.
|
||||
|
||||
:::{admonition} Note
|
||||
:class: info
|
||||
> **Note:**
|
||||
> This will only work with a Model that computes or predicts normals, e.g., nerfacto.
|
||||
|
||||
This will only work with a Model that computes or predicts normals, e.g., nerfacto.
|
||||
:::
|
||||
|
||||
1. Train nerfacto with network settings that predict normals.
|
||||
1. Train nerfacto with network settings that predict normals.
|
||||
|
||||
```bash
|
||||
ns-train nerfacto --pipeline.model.predict-normals True
|
||||
```
|
||||
```bash
|
||||
ns-train nerfacto --pipeline.model.predict-normals True
|
||||
```
|
||||
|
||||
2. Export a mesh with the Poisson meshing algorithm.
|
||||
2. Export a mesh with the Poisson meshing algorithm.
|
||||
|
||||
```bash
|
||||
ns-export poisson --load-config CONFIG.yml --output-dir OUTPUT_DIR
|
||||
```
|
||||
```bash
|
||||
ns-export poisson --load-config CONFIG.yml --output-dir OUTPUT_DIR
|
||||
```
|
||||
|
||||
## Exporting a point cloud
|
||||
|
||||
|
||||
Reference in new issue
Block a user