-
Notifications
You must be signed in to change notification settings - Fork 2
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
Significant FPS drop when Camera Control is opened. #3246
Comments
Can you provide us with a bit more details on the testing with the minimally configured camera? Did you just spawn the camera in the world for testing? Or did you set the minimal camera as your default streaming camera to use with the Camera Control? If you spawn the default Resonite camera from Resonite Essentials, does that not drop the FPS? |
@Frooxius A minimal camera has been set as the default camera used for camera control. When I spawn the default Resonite camera from Resonite Essentials, there is little to no drop in FPS. Note that the same thing occurs when the default Resonite camera is used as the camera for Camera Control. |
Is that drop consistent across all modes / settings for the camera? E.g. if you set it to "manual" so it is not actively tracking users (or place it in an anchor), does the same issue still occur, @orange3134? Given your reproduction steps noting that the issue is more prominent with a higher number of users in the session- I suspect it could potentially be related to the bounds calculation the camera performs while trying to keep users in-frame. Could you also see what happens if you reduce the "group detection radius" and group exclude boundary" values in the camera control panel settings, or manually exclude users from group detection in the "users" menu by pressing the 🚫 symbol next to each users name? |
@shiftyscales In all situations, the FPS appears lower than without Camera Control. Video Using the camera anchor Logs of these tests performed |
Describe the bug?
Opening Camera Control causes a significant drop in FPS.
I believe this is not due to the rendering of the camera, but due to some processing done by Camera Control.
Because there is a noticeably larger drop in FPS when the same camera is spawned as a Camera Control camera than when it is spawned as an item.
This FPS drop is also more pronounced for sessions with a larger number of users.
To Reproduce
This phenomenon will be more noticeable with more than 5 users.
You will see that the FPS is about 30% lower than when the camera control is not out.
Expected behavior
FPS should not drop significantly.
In fact, if the same camera is spawned as an item from inventory, the FPS does not drop that much.
Screenshots
Video
I joined a session with several users and opened the camera control to see the FPS drop.
When the debug screen is opened, the Engine Update value appears to increase when the camera control is open.
https://youtu.be/mO2tmthqBAI
Resonite Version Number
Beta 2024.11.19.479
What Platforms does this occur on?
Windows
What headset if any do you use?
Bigscreen beyond
Log Files
MENTAIKO - 2024.11.19.479 - 2024-12-02 23_01_33.log
Additional Context
I verified this with a minimally configured camera to make sure that the Flux or components in the camera item itself were not the cause.
I just added an InteractiveCamera to the Box.
Here is the ResonitePackage for that camera.
Do not unzip it, but change the extension to .resonitepackage.
SimpleCamera.zip
Reporters
orange3134
The text was updated successfully, but these errors were encountered: