-
Notifications
You must be signed in to change notification settings - Fork 2
/
meshing_custom_template.mlx
65 lines (65 loc) · 7.96 KB
/
meshing_custom_template.mlx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<FilterScript>
<filter name="Change the current layer">
<Param description="Mesh" name="mesh" tooltip="The name of the current mesh" type="RichMesh" value="0" />
</filter>
<filter name="Compute normals for point sets">
<Param description="Neighbour num" name="K" tooltip="The number of neighbors used to estimate normals." type="RichInt" value="10" />
<Param description="Smooth Iteration" name="smoothIter" tooltip="The number of smoothing iteration done on the p used to estimate and propagate normals." type="RichInt" value="8" />
<Param description="Flip normals w.r.t. viewpoint" name="flipFlag" tooltip="If the 'viewpoint' (i.e. scanner position) is known, it can be used to disambiguate normals orientation, so that all the normals will be oriented in the same direction." type="RichBool" value="true" />
<Param description="Viewpoint Pos." name="viewPos" tooltip="The viewpoint position can be set by hand (i.e. getting the current viewpoint) or it can be retrieved from mesh camera, if the viewpoint position is stored there." type="RichPoint3f" x="-1.726637" y="-0.4432943" z="1.007949" />
</filter>
<filter name="Change the current layer">
<Param description="Mesh" name="mesh" tooltip="The name of the current mesh" type="RichMesh" value="0" />
</filter>
<filter name="Compute normals for point sets">
<Param description="Neighbour num" name="K" tooltip="The number of neighbors used to estimate normals." type="RichInt" value="10" />
<Param description="Smooth Iteration" name="smoothIter" tooltip="The number of smoothing iteration done on the p used to estimate and propagate normals." type="RichInt" value="8" />
<Param description="Flip normals w.r.t. viewpoint" name="flipFlag" tooltip="If the 'viewpoint' (i.e. scanner position) is known, it can be used to disambiguate normals orientation, so that all the normals will be oriented in the same direction." type="RichBool" value="true" />
<Param description="Viewpoint Pos." name="viewPos" tooltip="The viewpoint position can be set by hand (i.e. getting the current viewpoint) or it can be retrieved from mesh camera, if the viewpoint position is stored there." type="RichPoint3f" x="-1.726637" y="-0.4432943" z="1.007949" />
</filter>
<filter name="Flatten Visible Layers">
<Param description="Merge Only Visible Layers" name="MergeVisible" tooltip="Merge the vertices that are duplicated among different layers. <br>Very useful when the layers are spliced portions of a single big mesh." type="RichBool" value="true" />
<Param description="Delete Layers " name="DeleteLayer" tooltip="Delete all the merged layers. <br>If all layers are visible only a single layer will remain after the invocation of this filter" type="RichBool" value="true" />
<Param description="Merge duplicate vertices" name="MergeVertices" tooltip="Merge the vertices that are duplicated among different layers. Very useful when the layers are spliced portions of a single big mesh." type="RichBool" value="false" />
<Param description="Keep unreferenced vertices" name="AlsoUnreferenced" tooltip="Do not discard unreferenced vertices from source layers Necessary for point-only layers" type="RichBool" value="true" />
</filter>
<filter name="Poisson-disk Sampling">
<Param description="Number of samples" name="SampleNum" tooltip="The desired number of samples. The ray of the disk is calculated according to the sampling density." type="RichInt" value="50000" />
<Param description="Explicit Radius" max="3.40332" min="0" name="Radius" tooltip="If not zero this parameter override the previous parameter to allow exact radius specification" type="RichAbsPerc" value="0" />
<Param description="MonterCarlo OverSampling" name="MontecarloRate" tooltip="The over-sampling rate that is used to generate the intial Montecarlo samples (e.g. if this parameter is <i>K</i> means that<i>K</i> x <i>poisson sample</i> points will be used). The generated Poisson-disk samples are a subset of these initial Montecarlo samples. Larger this number slows the process but make it a bit more accurate." type="RichInt" value="20" />
<Param description="Save Montecarlo" name="SaveMontecarlo" tooltip="If true, it will generate an additional Layer with the montecarlo sampling that was pruned to build the poisson distribution." type="RichBool" value="false" />
<Param description="Approximate Geodesic Distance" name="ApproximateGeodesicDistance" tooltip="If true Poisson Disc distances are computed using an approximate geodesic distance, e.g. an euclidean distance weighted by a function of the difference between the normals of the two points." type="RichBool" value="false" />
<Param description="Base Mesh Subsampling" name="Subsample" tooltip="If true the original vertices of the base mesh are used as base set of points. In this case the SampleNum should be obviously much smaller than the original vertex number.<br>Note that this option is very useful in the case you want to subsample a dense point cloud." type="RichBool" value="true" />
<Param description="Refine Existing Samples" name="RefineFlag" tooltip="If true the vertices of the below mesh are used as starting vertices, and they will utterly refined by adding more and more points until possible. " type="RichBool" value="false" />
<Param description="Samples to be refined" name="RefineMesh" tooltip="Used only if the above option is checked. " type="RichMesh" value="0" />
<Param description="Best Sample Heuristic" name="BestSampleFlag" tooltip="If true it will use a simple heuristic for choosing the samples. At a small cost (it can slow a bit the process) it usually improve the maximality of the generated sampling. " type="RichBool" value="true" />
<Param description="Best Sample Pool Size" name="BestSamplePool" tooltip="Used only if the Best Sample Flag is true. It control the number of attempt that it makes to get the best sample. It is reasonable that it is smaller than the Montecarlo oversampling factor." type="RichInt" value="10" />
<Param description="Exact number of samples" name="ExactNumFlag" tooltip="If requested it will try to do a dicotomic search for the best poisson disk radius that will generate the requested number of samples with a tolerance of the 0.5%. Obviously it takes much longer." type="RichBool" value="true" />
<Param description="Radius Variance" name="RadiusVariance" tooltip="The radius of the disk is allowed to vary between r and r*var. If this parameter is 1 the sampling is the same of the Poisson Disk Sampling" type="RichFloat" value="1" />
</filter>
<filter name="Delete Current Mesh">
</filter>
<xmlfilter name="Screened Poisson Surface Reconstruction">
<xmlparam name="cgDepth" value="0" />
<xmlparam name="confidence" value="false" />
<xmlparam name="depth" value="8" />
<xmlparam name="fullDepth" value="5" />
<xmlparam name="iters" value="8" />
<xmlparam name="pointWeight" value="4" />
<xmlparam name="preClean" value="true" />
<xmlparam name="samplesPerNode" value="5" />
<xmlparam name="scale" value="1.1" />
<xmlparam name="visibleLayer" value="false" />
</xmlfilter>
<filter name="Delete Current Mesh">
</filter>
<filter name="Estimate radius from density">
<Param description="Number of neighbors" name="NbNeighbors" tooltip="Number of neighbors used to estimate the local density. Larger values lead to smoother variations." type="RichInt" value="16" />
</filter>
<filter name="Per Vertex Quality Function">
<Param description="func q = " name="q" tooltip="function to generate new Quality for every vertex" type="RichString" value="rad" />
<Param description="normalize" name="normalize" tooltip="if checked normalize all quality values in range [0..1]" type="RichBool" value="false" />
<Param description="map into color" name="map" tooltip="if checked map quality generated values into per-vertex color" type="RichBool" value="true" />
<Param description="only on selection" name="onselected" tooltip="if checked, only affects selected vertices" type="RichBool" value="false" />
</filter>
</FilterScript>