Skip to content

Conversation

@avaer
Copy link

@avaer avaer commented Jul 2, 2018

The brush geometries seem to be 1 MB, re-uploaded on every tick. That's pretty taxing for 90FPS.

This sets the updateRange for brush geometries, so in most cases only a little bit of the geometry is uploaded by THREE.js (exactly as much as we have drawn).

Without this I was unable to hit 90FPS when drawing, even with straight OpenGL. But with, it it seems very smooth.

@msub2
Copy link
Contributor

msub2 commented Mar 8, 2022

@dmarcos This can be closed since I included this fix in #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants