You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,12 @@ The following sections mainly focus on the CLI of `splashsurf`. For more informa
71
71
72
72
## Introduction
73
73
74
-
This is CLI to run a fast marching cubes based surface reconstruction for SPH fluid simulations (e.g., performed with [SPlisHSPlasH](https://github.com/InteractiveComputerGraphics/SPlisHSPlasH)).
75
-
The output of this tool is the reconstructed triangle surface mesh of the fluid.
76
-
At the moment, it supports computing normals on the surface using SPH gradients and interpolating scalar and vector particle attributes to the surface.
74
+
The `splashsurf` CLI provides a "fast" marching cubes based surface reconstruction for particle data from SPH fluid simulations (e.g., performed with [SPlisHSPlasH](https://github.com/InteractiveComputerGraphics/SPlisHSPlasH)).
75
+
The output of this tool is a (closed) triangle mesh of the fluid's surface.
76
+
At the moment, it supports computing normals on the surface using SPH gradients and interpolating scalar and vector attributes defined on the particles to the surface.
77
77
To get rid of the typical bumps from SPH simulations, it supports a weighted Laplacian smoothing approach [detailed below](#weighted-surface-smoothing).
78
78
As input, it supports reading particle positions from `.vtk`/`.vtu`, `.bgeo`, `.ply`, `.json` and binary `.xyz` (i.e., files containing a binary dump of a particle position array) files.
79
-
Required parameters to perform a reconstruction are the kernel radius and particle radius (to compute the volume of particles) used for the original SPH simulation as well as the marching cubes resolution (a default iso-surface threshold is pre-configured).
79
+
Required parameters to perform a reconstruction are the kernel radius (its compact support) and particle radius (to compute the volume of particles) used for the original SPH simulation as well as the marching cubes resolution (a default iso-surface threshold is pre-configured).
80
80
81
81
## Domain decomposition
82
82
@@ -91,7 +91,7 @@ To improve on this situation `splashsurf` utilizes a domain decomposition approa
91
91
Since version 0.10.0, `splashsurf` implements a domain decomposition approach called the "subdomain grid" approach, toggled with the `--subdomain-grid=on` flag (default since version 0.11.0).
92
92
Here, the goal is to divide the fluid domain into subdomains with a fixed number of marching cubes cells, by default `64x64x64` cubes.
93
93
For each subdomain, a dense 3D array is allocated for the marching cubes cells.
94
-
Of course, only subdomains that contain fluid particles are actually allocated.
94
+
Of course, only subdomains that contain any fluid particles are actually allocated.
95
95
For subdomains that contain only a tiny number of fluid particles (less than 5% of the largest subdomain), a hashmap is used instead to not waste too much storage.
96
96
As most domains are dense, however, the marching cubes triangulation per subdomain is very fast as it can make full use of cache locality.
97
97
The triangulation per subdomain can be performed in parallel.
Copy file name to clipboardExpand all lines: splashsurf/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,12 +64,12 @@ The following sections mainly focus on the CLI of `splashsurf`. For more informa
64
64
65
65
## Introduction
66
66
67
-
This is CLI to run a fast marching cubes based surface reconstruction for SPH fluid simulations (e.g., performed with [SPlisHSPlasH](https://github.com/InteractiveComputerGraphics/SPlisHSPlasH)).
68
-
The output of this tool is the reconstructed triangle surface mesh of the fluid.
69
-
At the moment, it supports computing normals on the surface using SPH gradients and interpolating scalar and vector particle attributes to the surface.
67
+
The `splashsurf` CLI provides a "fast" marching cubes based surface reconstruction for particle data from SPH fluid simulations (e.g., performed with [SPlisHSPlasH](https://github.com/InteractiveComputerGraphics/SPlisHSPlasH)).
68
+
The output of this tool is a (closed) triangle mesh of the fluid's surface.
69
+
At the moment, it supports computing normals on the surface using SPH gradients and interpolating scalar and vector attributes defined on the particles to the surface.
70
70
To get rid of the typical bumps from SPH simulations, it supports a weighted Laplacian smoothing approach [detailed below](#weighted-surface-smoothing).
71
71
As input, it supports reading particle positions from `.vtk`/`.vtu`, `.bgeo`, `.ply`, `.json` and binary `.xyz` (i.e., files containing a binary dump of a particle position array) files.
72
-
Required parameters to perform a reconstruction are the kernel radius and particle radius (to compute the volume of particles) used for the original SPH simulation as well as the marching cubes resolution (a default iso-surface threshold is pre-configured).
72
+
Required parameters to perform a reconstruction are the kernel radius (its compact support) and particle radius (to compute the volume of particles) used for the original SPH simulation as well as the marching cubes resolution (a default iso-surface threshold is pre-configured).
73
73
74
74
## Domain decomposition
75
75
@@ -84,7 +84,7 @@ To improve on this situation `splashsurf` utilizes a domain decomposition approa
84
84
Since version 0.10.0, `splashsurf` implements a domain decomposition approach called the "subdomain grid" approach, toggled with the `--subdomain-grid=on` flag (default since version 0.11.0).
85
85
Here, the goal is to divide the fluid domain into subdomains with a fixed number of marching cubes cells, by default `64x64x64` cubes.
86
86
For each subdomain, a dense 3D array is allocated for the marching cubes cells.
87
-
Of course, only subdomains that contain fluid particles are actually allocated.
87
+
Of course, only subdomains that contain any fluid particles are actually allocated.
88
88
For subdomains that contain only a tiny number of fluid particles (less than 5% of the largest subdomain), a hashmap is used instead to not waste too much storage.
89
89
As most domains are dense, however, the marching cubes triangulation per subdomain is very fast as it can make full use of cache locality.
90
90
The triangulation per subdomain can be performed in parallel.
0 commit comments