McManning / Coherence

Blender viewport renderer using the Unity Engine
MIT License
30 stars 0 forks source link

Add dynamic FPS on Runtime.on_tick #39

Closed McManning closed 2 years ago

McManning commented 3 years ago

From my rant in #36 -

I'd like to dynamically change the tick rate based on user activity.

If someone is actively modeling / moving the viewport camera around / etc - I want it to run the full 120 FPS (or faster, within reason). But once they're idle in the app I want to scale down the tick rate to ~60 or lower, with probably a setting for it. This should solve the minimizing issue in #36 as well as free up some CPU cycles when the user isn't really doing anything in the app but it's connected nonetheless.

McManning commented 2 years ago

Implemented in the new core