Hi, I am trying to use SimplifyModifier from here:
but, when I import the BufferGeometryUtils, it showed an error:
Attempted import error: ‘mergeVertices’ is not exported from ‘three/examples/jsm/utils/BufferGeometryUtils’ (imported as ‘BufferGeometryUtils’).
anyone know what the issue with this?
oh, it solved!
I take the buffergeometryutils from here:
Unfortunately, but the library crashes an error:
Uncaught TypeError: Cannot read property ‘mergeBufferGeometries’ of undefined
The library loads correctly because it adds console.log (“lib load”) to this library and it appears in my logs.
Unfortunately, the use of:
THREE.BufferGeometryUtils.mergeBufferGeometries (Geometry, true);
It shows the above-mentioned error.