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: demo/clusterlod.h
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,19 @@ struct clodConfig
42
42
// amplify the error of clusters that go through sloppy simplification to account for appearance degradation
43
43
float simplify_error_factor_sloppy;
44
44
45
+
// experimental: limit error by edge length, aiming to remove subpixel triangles even if the attribute error is high
46
+
float simplify_error_edge_limit;
47
+
45
48
// use permissive simplification instead of regular simplification (make sure to use attribute_protect_mask if this is set!)
46
49
bool simplify_permissive;
47
50
48
51
// use permissive or sloppy simplification but only if regular simplification gets stuck
49
52
bool simplify_fallback_permissive;
50
53
bool simplify_fallback_sloppy;
51
54
55
+
// use regularization during simplification to make triangle density more uniform, at some cost to overall triangle count; recommended for deformable objects
56
+
bool simplify_regularize;
57
+
52
58
// should clodCluster::bounds be computed based on the geometry of each cluster
0 commit comments