An implementation of the Quadratic Error simplification algorithm. Original paper : http://www1.cs.columbia.edu/~cs4162/html05s/garland97.pdf Ported mostly from QSlim and http://voxels.blogspot.de/2014/05/quadric-mesh-simplification-with-source.html to babylon JS
aggressivenessSearch playground for aggressiveness
Gets or sets the aggressiveness of the simplifier
Box EpsilonSearch playground for boundingBoxEpsilon
Gets or sets the espilon to use for bounding box computation
IterationsSearch playground for decimationIterations
Gets or sets the number of allowed iterations for decimation
IterationsSearch playground for syncIterations
Gets or sets the number pf sync iterations
simplifySearch playground for simplify
Simplification of a given mesh according to the given settings. Since this requires computation, it is assumed that the function runs async.
The settings of the simplification, including quality and distance
successCallback: ((simplifiedMesh: Mesh) => void)
A callback that will be called after the mesh was simplified.