Class QuadraticErrorSimplification
Hierarchy
- QuadraticErrorSimplification
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
-
Creates a new QuadraticErrorSimplification
Parameters
-
_mesh: Mesh
defines the target mesh
Returns QuadraticErrorSimplification
-
Properties
aggressivenessSearch playground for aggressiveness
Gets or sets the aggressiveness of the simplifier
bounding Box EpsilonSearch playground for boundingBoxEpsilon
Gets or sets the espilon to use for bounding box computation
decimation IterationsSearch playground for decimationIterations
Gets or sets the number of allowed iterations for decimation
sync IterationsSearch playground for syncIterations
Gets or sets the number pf sync interations
Methods
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.
Parameters
-
settings: ISimplificationSettings
The settings of the simplification, including quality and distance
-
successCallback: (simplifiedMesh: Mesh) => void
A callback that will be called after the mesh was simplified.
-
-
Parameters
-
simplifiedMesh: Mesh
Returns void
-
-
-
Returns void
-
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
RaananW
https://doc.babylonjs.com/how_to/in-browser_mesh_simplification