Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 669
Dylan Avatar asked Apr 08 '13 04:04

Dylan


1 Answers

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

like image 134
arpo Avatar answered Oct 10 '22 08:10

arpo