Frame rate goes to 1 with autoAdd
The new autoAdd feature is excellent for intuitive user experience, but performance drops to 1 frame per second.
Any thoughts on how to configure it to prevent that? I added it as commend in https://github.com/markuslerner/THREE.Interactive/issues/20 but wasn't sure if it belongs as separate issue now.
Hi @psytron, thank you for checking it out! Can you please post your code here or upload it somewhere? Then I can look into it.
I copy pasted the example code from https://dev.markuslerner.com/three.interactive/examples/auto-add.html
const interactionManager = new InteractionManager(
renderer,
camera,
renderer.domElement,
{
autoAdd: true,
scene
}
);
Hi @psytron, on my Mac the above example runs at 60 fps in Chrome, Safari and Firefox. Does it run fast for you as well? Which browser are you using?
I would need your full code to able to debug it.