Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance: sharedbuffergeometry update ranges #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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