Open nicholasvadasz opened 3 weeks ago
Don't call scene.objects[i].update();
The update function applies the rotation, position, and scale to each gaussian on the CPU, which is useful for if you need to export a model with these transformations applied. For live animations just remove that line and your CPU usage will decrease significantly.
Currently trying to implement automatic scene rotation in a react project.
My current approach is something like:
But this seems to take an unyieldy amount of CPU. I imagine it would be more principled to use OrbitControls and increment the alpha/beta over time, but this doesn't seem to be a supported approach.
Is there a more standard way of doing this that I am not seeing? I found some old PRs/issues, but doesn't seem anything ever came of them.