-
Notifications
You must be signed in to change notification settings - Fork 1
/
meshlab_smooth.mlx
22 lines (22 loc) · 3.99 KB
/
meshlab_smooth.mlx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<FilterScript>
<filter name="Taubin Smooth">
<Param name="lambda" description="Lambda" tooltip="The lambda parameter of the Taubin Smoothing algorithm" value="0.55" type="RichFloat"/>
<Param name="mu" description="mu" tooltip="The mu parameter of the Taubin Smoothing algorithm" value="-0.54" type="RichFloat"/>
<Param name="stepSmoothNum" description="Smoothing steps" tooltip="The number of times that the taubin smoothing is iterated. Usually it requires a larger number of iteration than the classical laplacian" value="50" type="RichInt"/>
<Param name="Selected" description="Affect only selected faces" tooltip="If checked the filter is performed only on the selected faces" value="false" type="RichBool"/>
</filter>
<filter name="Simplification: Quadric Edge Collapse Decimation">
<Param value="1000" description="Target number of faces" tooltip="The desired final number of faces." name="TargetFaceNum" type="RichInt"/>
<Param value="0" description="Percentage reduction (0..1)" tooltip="If non zero, this parameter specifies the desired final size of the mesh as a percentage of the initial size." name="TargetPerc" type="RichFloat"/>
<Param value="0.3" description="Quality threshold" tooltip="Quality threshold for penalizing bad shaped faces.<br>The value is in the range [0..1]
 0 accept any kind of face (no penalties),
 0.5 penalize faces with quality < 0.5, proportionally to their shape
" name="QualityThr" type="RichFloat"/>
<Param value="false" description="Preserve Boundary of the mesh" tooltip="The simplification process tries to do not affect mesh boundaries during simplification" name="PreserveBoundary" type="RichBool"/>
<Param value="1" description="Boundary Preserving Weight" tooltip="The importance of the boundary during simplification. Default (1.0) means that the boundary has the same importance of the rest. Values greater than 1.0 raise boundary importance and has the effect of removing less vertices on the border. Admitted range of values (0,+inf). " name="BoundaryWeight" type="RichFloat"/>
<Param value="false" description="Preserve Normal" tooltip="Try to avoid face flipping effects and try to preserve the original orientation of the surface" name="PreserveNormal" type="RichBool"/>
<Param value="false" description="Preserve Topology" tooltip="Avoid all the collapses that should cause a topology change in the mesh (like closing holes, squeezing handles, etc). If checked the genus of the mesh should stay unchanged." name="PreserveTopology" type="RichBool"/>
<Param value="true" description="Optimal position of simplified vertices" tooltip="Each collapsed vertex is placed in the position minimizing the quadric error.
 It can fail (creating bad spikes) in case of very flat areas. 
If disabled edges are collapsed onto one of the two original vertices and the final mesh is composed by a subset of the original vertices. " name="OptimalPlacement" type="RichBool"/>
<Param value="false" description="Planar Simplification" tooltip="Add additional simplification constraints that improves the quality of the simplification of the planar portion of the mesh." name="PlanarQuadric" type="RichBool"/>
<Param value="false" description="Weighted Simplification" tooltip="Use the Per-Vertex quality as a weighting factor for the simplification. The weight is used as a error amplification value, so a vertex with a high quality value will not be simplified and a portion of the mesh with low quality values will be aggressively simplified." name="QualityWeight" type="RichBool"/>
<Param value="true" description="Post-simplification cleaning" tooltip="After the simplification an additional set of steps is performed to clean the mesh (unreferenced vertices, bad faces, etc)" name="AutoClean" type="RichBool"/>
<Param value="false" description="Simplify only selected faces" tooltip="The simplification is applied only to the selected set of faces.
 Take care of the target number of faces!" name="Selected" type="RichBool"/>
</filter>
</FilterScript>