Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chenweikai authored Jun 16, 2022
1 parent 102a9b2 commit bfda838
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion data_generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ To customize the usage of the program:
./gen_3psdf_samples input.obj output.sdf output_recon.obj output_sample_points.ply octree_depth [default=9] flag_writeSDF [default=1] flag_recon_3PSDF [default=1] flag_writePLY [default=1]"
```

`flag_writeSDF`: whether to generate `.sdf` file (currenlty can be viewed in any text editor for illustration purpose, you are welcomed to customized it into a binary format for acceleration) that encodes the raw training samples for 3PSDF learning. By default, it is set to 1 to activate sdf generation; it is disabled when set to 0.

`flag_recon_3PSDF`: whether to reconstruct the generated 3PSDF field to a mesh for debug purpose. By default, it is set to 1 to activate the generation; it is disabled when set to 0.

`flag_writePLY`: whether to generate `.ply` file that encodes the sampling points used in the `.sdf' training data. It is used for debug and visualization purpose. By default, it is set to 1 to activate the generation; it is disabled when set to 0.


(2) `batch_generate`: the binary that generates 3PSDF sampling points in batch.

Expand All @@ -43,7 +49,7 @@ To customize the usage of the program:

```
./batch_generate todo_list.txt inDir outSDFDir outObjDir outPlyDir octree_depth [default=9] \
flag_writeSDF [default=0] flag_writeOBJ [default=1] flag_writePLY [default=1]"
flag_writeSDF [default=0] flag_writeOBJ [default=1] flag_writePLY [default=1] [todo_list.txt (optional)]"
```


Expand Down

0 comments on commit bfda838

Please sign in to comment.