Version: 
Back to list

Algo :: decimateEdgeCollapse

Synopsis

   reduce the polygon count by collapsing some edges to obtain an simplified mesh

GUI Dialog

   

Script function

   algo.decimateEdgeCollapse(occurrences, surfacicTolerance[, boundaryWeight[, normalWeight[, UVWeight[, sharpNormalWeight[, UVSeamWeight[, normalMaxDeviation[, forbidUVOverlaps[, UVMaxDeviation[, UVSeamMaxDeviation[, protectTopology]]]]]]]]]])

Parameters

   occurrences (OccurrenceList) : Occurrences of components to process
   surfacicTolerance (Distance) : Error max between the simplified mesh et the old one
   boundaryWeight (Double[optional] : Boundary importance during the decimation
   normalWeight (Double[optional] : Normal importance during the decimation
   UVWeight (Double[optional] : UV importance during the decimation
   sharpNormalWeight (Double[optional] : Importance of sharp edges during the decimation
   UVSeamWeight (Double[optional] : Importance of UV seams during the decimation
   normalMaxDeviation (Angle[optional] : Constraint the normals deviation on decimated model
   forbidUVOverlaps (Boolean[optional] : Forbid UV to fold over and overlap during the decimation
   UVMaxDeviation (Double[optional] : Constraint the uv deviation on decimated model
   UVSeamMaxDeviation (Double[optional] : Constraint the uv seams deviation on decimated model
   protectTopology (Boolean[optional] : If false, the topology of the mesh can change and some edges can become non-manifold. But the visual quality will be better on model with complex topology