public class SimplifyMesh extends Object
| Constructor and Description |
|---|
SimplifyMesh(Mesh mesh) |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
simplify(float target_percent,
double agressiveness)
Begins the simplification process.
|
public SimplifyMesh(Mesh mesh)
public Mesh simplify(float target_percent, double agressiveness)
target_percent - the amount in percent to attempt to achieve. For example:
0.25f would result in creating a mesh with 25% of triangles
contained in the original.agressiveness - sharpness to increase the threshold. 5..8 are good numbers.
more iterations yield higher quality. Minimum 4 and maximum 20
are recommended.Copyright © 2016–2023 ImgLib2. All rights reserved.