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

The frame rate of large models is lower than before #7

Open
wwjje opened this issue Nov 7, 2024 · 7 comments
Open

The frame rate of large models is lower than before #7

wwjje opened this issue Nov 7, 2024 · 7 comments
Assignees

Comments

@wwjje
Copy link

wwjje commented Nov 7, 2024

The frame rate of large models is lower than before. The previous version had 60 frames per second, but now it only has a frame rate of 20-30 frames per second

@mavimaec
Copy link

mavimaec commented Dec 2, 2024

Thanks for reporting this - looking into it!

@mavimaec mavimaec transferred this issue from vimaec/vim-webgl-viewer Dec 16, 2024
@wwjje
Copy link
Author

wwjje commented Jan 6, 2025

May I ask when this issue can be resolved? The performance and frame rate are not as smooth as before when using large models

@mavimaec
Copy link

mavimaec commented Jan 7, 2025

Hi wwjje, @vim-sroberge is currently working on a fix. Hoping to have it merged in the next few days.

@vim-sroberge
Copy link
Collaborator

Hi wwjje, The new release 0.39.0 includes performance improvements.
If you need maximum performance you can also consider using a material override like this

vim.scene.material = viewer.materials.simple

@wwjje
Copy link
Author

wwjje commented Jan 16, 2025

Hi,I tried it out,The frame rate has increased to around 40FPS, but still hasn't reached 60FPS. During use, there may be a slight lag and lack of smoothness when zooming in, out, or rotating. I tried another version (https://github.com/vimaec/vim-webgl-viewer/tree/v1.5.2) again, and no matter how I operate it, zoom in, zoom out, or rotate, it always has a full frame rate of 60FPS. Why is that?

@wwjje
Copy link
Author

wwjje commented Jan 16, 2025

I used the same computer and the same large model for testing. You can also test it. vim-webgl-viewer v1.5.2 performs very smoothly, always running at a full frame rate of 60FPS

@vim-sroberge
Copy link
Collaborator

I will look into it and try an older version. Thanks for the details.

@vim-sroberge vim-sroberge reopened this Jan 16, 2025
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

3 participants