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: CHANGELOG.md
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,24 @@
2
2
3
3
The following changes are present in the `main` branch of the repository and are not yet part of a release:
4
4
5
+
- N/A
6
+
7
+
## Version 0.10.0
8
+
9
+
This release implements ["Weighted Laplacian Smoothing for Surface Reconstruction of Particle-based Fluids" (Löschner, Böttcher, Jeske, Bender; 2023)](https://animation.rwth-aachen.de/publication/0583/), mesh cleanup based on ["Mesh Displacement: An Improved Contouring Method for Trivariate Data" (Moore, Warren; 1991)](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.49.5214&rep=rep1&type=pdf) and a new, more efficient domain decomposition (see README.md for more details).
10
+
11
+
- Lib: Implement new spatial decomposition based on a regular grid of subdomains (subdomains are dense marching cubes grids)
5
12
- CLI: Make new spatial decomposition available in CLI with `--subdomain-grid=on`
6
-
- Lib: Implement new spatial decomposition based on a regular grid of subdomains, subdomains are dense marching cubes grids
7
-
- Lib: Support for reading and writing PLY meshes
13
+
- Lib: Implement weighted Laplacian smoothing to remove bumps from surfaces according to paper "Weighted Laplacian Smoothing for Surface Reconstruction of Particle-based Fluids" (Löschner, Böttcher, Jeske, Bender 2023)
14
+
- CLI: Add arguments to enable and control weighted Laplacian smoothing `--mesh-smoothing-iters=...`, `--mesh-smoothing-weights=on` etc.
15
+
- Lib: Implement `marching_cubes_cleanup` function: a marching cubes "mesh cleanup" decimation inspired by "Mesh Displacement: An Improved Contouring Method for Trivariate Data" (Moore, Warren 1991)
16
+
- CLI: Add argument to enable mesh cleanup: `--mesh-cleanup=on`
17
+
- Lib: Add functions to `TriMesh3d` to find non-manifold edges and vertices
18
+
- CLI: Add arguments to check if output meshes are manifold (no non-manifold edges and vertices): `--mesh-check-manifold=on`, `--mesh-check-closed=on`
19
+
- Lib: Support for mixed triangle and quad meshes
20
+
- Lib: Implement `convert_tris_to_quads` function: greedily merge triangles to quads if they fulfill certain criteria (maximum angle in quad, "squareness" of the quad, angle between triangle normals)
21
+
- CLI: Add arguments to enable and control triangle to quad conversion with `--generate-quads=on` etc.
22
+
- Lib: Support for reading and writing PLY meshes (`MixedTriQuadMesh3d`)
8
23
- CLI: Support for filtering input particles using an AABB with `--particle-aabb-min`/`--particle-aabb-max`
9
24
- CLI: Support for clamping the triangle mesh using an AABB with `--mesh-aabb-min`/`--mesh-aabb-max`
10
25
@@ -69,9 +84,9 @@ The following changes are present in the `main` branch of the repository and are
69
84
70
85
This release fixes a couple of bugs that may lead to inconsistent surface reconstructions when using domain decomposition (i.e. reconstructions with artificial bumps exactly at the subdomain boundaries, especially on flat surfaces). Currently there are no other known bugs and the domain decomposed approach appears to be really fast and robust.
71
86
72
-
In addition the CLI now reports more detailed timing statistics for multi-threaded reconstructions.
87
+
In addition, the CLI now reports more detailed timing statistics for multi-threaded reconstructions.
73
88
74
-
Otherwise this release contains just some small changes to command line parameters.
89
+
Otherwise, this release contains just some small changes to command line parameters.
75
90
76
91
- Lib: Add a `ParticleDensityComputationStrategy` enum to the `SpatialDecompositionParameters` struct. In order for domain decomposition to work consistently, the per particle densities have to be evaluated to a consistent value between domains. This is especially important for the ghost particles. Previously, this resulted inconsistent density values on boundaries if the ghost particle margin was not at least 2x the compact support radius (as this ensures that the inner ghost particles actually have the correct density). This option is now still available as the `IndependentSubdomains` strategy. The preferred way, that avoids the 2x ghost particle margin is the `SynchronizeSubdomains` where the density values of the particles in the subdomains are first collected into a global storage. This can be faster as the previous method as this avoids having to collect a double-width ghost particle layer. In addition there is the "playing it safe" option, the `Global` strategy, where the particle densities are computed in a completely global step before any domain decomposition. This approach however is *really* slow for large quantities of particles. For more information, read the documentation on the `ParticleDensityComputationStrategy` enum.
77
92
- Lib: Fix bug where the workspace storage was not cleared correctly leading to inconsistent results depending on the sequence of processed subdomains
@@ -91,7 +106,7 @@ Otherwise this release contains just some small changes to command line paramete
91
106
92
107
The biggest new feature is a domain decomposed approach for the surface reconstruction by performing a spatial decomposition of the particle set with an octree.
93
108
The resulting local patches can then be processed in parallel (leaving a single layer of boundary cells per patch untriangulated to avoid incompatible boundaries).
94
-
Afterwards, a stitching procedure walks the octree back upwards and merges the octree leaves by averaging density values on the boundaries.
109
+
Afterward, a stitching procedure walks the octree back upwards and merges the octree leaves by averaging density values on the boundaries.
95
110
As the library uses task based parallelism, a task for stitching can be enqueued as soon as all children of an octree node are processed.
96
111
Depending on the number of available threads and the particle data, this approach results in a speedup of 4-10x in comparison to the global parallel approach in selected benchmarks.
97
112
At the moment, this domain decomposition approach is only available when allowing to parallelize over particles using the `--mt-particles` flag.
0 commit comments