hzhao
11-04-2015, 02:09 AM
HI,
I use viz.starttimer(0,1/30,viz.FOREVER) to run my object animation and record the motion data in function myAnimation. But the data is not recorded at 30Hz. instead it is recorded at about 40Hz and fluctuates.
viz.callback(viz.TIMER_EVENT,myAnimation)
viz.starttimer(0,1/30,viz.FOREVER)
I use Oculus DK2. If my virtual scene is complex and the computing burden is high, the data recording rate drops. So I set it at 1/30, and want to have a fixed recording rate. But it doesn't work.
Thanks.
I use viz.starttimer(0,1/30,viz.FOREVER) to run my object animation and record the motion data in function myAnimation. But the data is not recorded at 30Hz. instead it is recorded at about 40Hz and fluctuates.
viz.callback(viz.TIMER_EVENT,myAnimation)
viz.starttimer(0,1/30,viz.FOREVER)
I use Oculus DK2. If my virtual scene is complex and the computing burden is high, the data recording rate drops. So I set it at 1/30, and want to have a fixed recording rate. But it doesn't work.
Thanks.