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! |
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. |
All times are GMT -7. The time now is 03:35 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC