Skip to content

Commit e9888bb

Browse files
authored
Add PLY format reader (#1)
* add ply input file support * remove use na::Vector * readme update
1 parent d3b303b commit e9888bb

6 files changed

Lines changed: 269 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 217 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ OPTIONS:
7777
7878
ARGS:
7979
<input-file> Path to the input file where the particle positions are stored (supported formats: VTK, binary
80-
XYZ)
80+
XYZ, ply)
8181
```
8282
For example:
8383
```
@@ -123,6 +123,12 @@ With these parameters, a scene with 13353401 particles is reconstructed in nearl
123123
[2020-08-25T15:52:59.879171+02:00][splashsurf][INFO] write surface mesh to file: 2.02%, 511.21ms/call @ 0.04Hz
124124
```
125125

126+
## Input file formats
127+
128+
### Ply
129+
130+
The ply format expects an element definition 'vertex', with element properties of 'x,y,z'
131+
126132
## License
127133

128134
For license information of this project, see the LICENSE file.

splashsurf/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ vtkio = "0.3"
2424
nalgebra = "0.22"
2525
num = "0.3"
2626
rayon = "1.4"
27+
ply-rs = "0.1.3"

0 commit comments

Comments
 (0)