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

Very laggy #13

Open
klaszlo8207 opened this issue Jan 3, 2020 · 5 comments
Open

Very laggy #13

klaszlo8207 opened this issue Jan 3, 2020 · 5 comments

Comments

@klaszlo8207
Copy link

The viewer is very slow on a HIGH end machine

@klaszlo8207
Copy link
Author

it is only laggy when you need to draw a lot of points

@hemanthrajv
Copy link
Owner

hemanthrajv commented Jan 7, 2020 via email

@jpnurmi
Copy link

jpnurmi commented Jun 14, 2020

  • consider parsing .obj once after reading, not in paint() after every rotation etc.
  • and batching huge amounts of Canvas.drawPath() calls with help of Canvas.drawVertices()

@nabil-ha
Copy link

* consider parsing .obj once after reading, not in paint() after every rotation etc.

* and batching huge amounts of Canvas.drawPath() calls with help of Canvas.drawVertices()

How to do that? can you explain?

@youssefali424
Copy link

what he means fork the package change the part starting line 307, in paint function he is reading the file imagine that when you change the rotation he reads the whole file again that's too much I will try the edits locally if it worked I will refer to the forked git here or perhaps a pr

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

No branches or pull requests

5 participants