Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
High CPU usage when doing camera orbit.
01-22-2021, 07:38 AM (This post was last modified: 01-22-2021 07:46 AM by dgud.)
Post: #4
RE: High CPU usage when doing camera orbit.
Can this be related to mouse update rate?

We had a thread about that here which I can't find now, I don't have any backpressure of
how fast the mouse events are generated, they are sent async from gui thread to erlang,
which generates to much work.

I don't really know how to solve that, both wx (the erlang wrapper lib) and wings in its current state are designed to work with async event model. So I don't have an easy fix.

The only fix was to reduce the mouse polling rate. Micheus you had some links?

EDIT: Also since corona I don't have access to a (non virtual) linux machine, so testing on linux is hard for me.
Reply


Messages In This Thread
RE: High CPU usage when doing camera orbit. - dgud - 01-22-2021 07:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)