#1
|
|||
|
|||
Execute function at high sampling rate
Hi,
I have an input device which can sample at a higher rate then the refresh rate of my monitor. What is the best way to save the data from that device? Will calling a function which saves the data (e.g. using sensor.getData()) with vizact.ontimer(0.004, savedata) yield an accurate result? And how will it behave when the scene is rendered? Thanks! |
#2
|
|||
|
|||
Vizard's main loop runs in sync with the display's refresh rate. So you won't be able to save out data at a higher rate.
You could try disabling vsync to get faster rates but then you may have tearing. Last edited by Jeff; 03-06-2017 at 10:45 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Physics engine update rate and display rate | zharuViz | Vizard | 12 | 10-28-2013 06:52 AM |
Frame rate issue | kopper | Vizard | 2 | 06-09-2013 10:53 AM |