-
Notifications
You must be signed in to change notification settings - Fork 369
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
Camera spins unevenly at <=100 FPS rendering speed #4794
Comments
Maybe also adding here that the same scene didn't have this issue back in 0.8 (or at least much less) and that the spinning speed has increased noticeably since then. 080.mp4Same for 0.9. Faster rendering (2x faster than now), and consistent spinning speed. |
@emilk not sure this is a "quick issue". The code hat does the spinning looks like this:
so if high framerates cause issues here it implies that |
I tried out some more versions and it seems like this has changed from 0.11 -> 0.12. Each frame takes ~2x as long, the rotation speed is higher, and the speed seems to be inconsistent. |
@roym899 and me had a look on his laptop where it's reportedly not as bad as on the desktop - we'll check on puffin traces of the desktop machine later. It seems that we slightly regressed performance in 0.12 it's hard to pinpoint where exactly though. However, (likely due to multithreading!) we have much more varying frame time lengths and I think this doesn't bode well with |
The docs explains it pretty well: https://docs.rs/egui/latest/egui/struct.InputState.html#structfield.stable_dt Feel free to try out some other |
Ooh, it seems |
|
Once the displayed CPU time reaches ~= 10ms, the camera spins at uneven speed for me.
uneven_spin.mp4
Rerun Version
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: