ThreeJS: is it possible to simplify an object / reduce the number of vertexes?

3d-modelling, autocad, three.js, vertex

Solution

There's a modifier called SimplifyModifier that works very well. You'll find it in the Three.js examples

https://threejs.org/examples/#webgl_modifier_simplifier

Problem

I'm starting to learn ThreeJS. I have some very complex models to display. These models come from Autocad files that my customer provides. But sometimes the amount of details in the model is just way too much for the purpose of the website. I would like to reduce the amount of vertexes in the model to simplify the display and enhance performance. Is this possible from within ThreeJS? Or is there maybe an other solution for this?

Original source