QuadraticErrorSimplification

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

author

RaananW

see

http://doc.babylonjs.com/how_to/in-browser_mesh_simplification

Hierarchy

  • QuadraticErrorSimplification

Implements

Index

Constructors

constructor

Find examples in Playground

Properties

aggressiveness

Find examples in Playground
aggressiveness: number

Gets or sets the aggressiveness of the simplifier

boundingBoxEpsilon

Find examples in Playground
boundingBoxEpsilon: number

Gets or sets the espilon to use for bounding box computation

decimationIterations

Find examples in Playground
decimationIterations: number

Gets or sets the number of allowed iterations for decimation

syncIterations

Find examples in Playground
syncIterations: number

Gets or sets the number pf sync interations

Methods

simplify

Find examples in Playground
  • 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: function

      A callback that will be called after the mesh was simplified.

        • (simplifiedMesh: Mesh): void
        • Parameters

          • simplifiedMesh: Mesh

          Returns void

    Returns void

Generated using TypeDoc