3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

Improve scene performance

Open Algorush opened this issue 1 year ago β€’ 2 comments

I noticed that in heavy scenes (especially with animation), the main JS thread is sometimes blocked and the image slows down. There are many ways to improve the performance of Three.js projects. The official documentation mentions these methods: https://threejs.org/manual/#en/optimize-lots-of-objects https://threejs.org/manual/#en/optimize-lots-of-objects-animated https://threejs.org/manual/#en/offscreencanvas

Algorush avatar Jan 10 '24 17:01 Algorush

From discord: Kieran Farr: Relevant for global animation at scale https://wizgrav.github.io/three.js/examples/?q=instan#webgl_instancing_morph From https://github.com/mrdoob/three.js/pull/27616 (not yet accepted into three.js library)

Algorush avatar Jan 24 '24 14:01 Algorush

The functionality was merged in mrdoob/three.js#27669 which supports all types of morph target animations now

wizgrav avatar Feb 05 '24 09:02 wizgrav