The section “Accessing the simplification class directly” in the documentation post:
talks about accessing the simplification class directly. However, this does not work:
var decimator = new QuadraticErrorSimplification(meshToDecimate);
and neither does
var decimator = new BABYLON.QuadraticErrorSimplification(meshToDecimate);
I am looking to simplify a mesh, regardless of distance and post TypeError: BABYLON.GUI.GUIImage is not a constructor - Questions & Answers - HTML5 Game Devs Forum covers precisely this - however the code does not seem to comply.