—
—
ok, started to see something if i rename to worker.jsx, and if i just render a mesh with a geometry. as soon as i import the scene component vite tries...
this is the workaround :( it's very bad https://github.com/pmndrs/react-three-offscreen#vite
are you trying last version? it seems to work
how do you set it, by hot reload? is it OK on the first load?
it's on the frontpage though ```shell npx gltfjsx [Model.glb] [options] ``` you don't normally install gltfjsx.
beautiful!
> The CameraControls update code looks pretty suspicious to me. It only calls `controls.update` for the implementation on every frame rendered, and it only forces renders on camera events. It...
quick fix ```jsx { invalidate() requestAnimationFrame(() => controls.dolly(1, true)) }} ``` imo the problem is that invalidate, by design, doesn't render. it will schedule a render. by that time .dolly,...
will add a small example for keeping things in sync.
interesting! so cc thinks it will always render. this might be a limitation of the library. regardless, the raf trick would also take care of animations that truly start immediately....