View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#2869
Originally Posted by Capt'n Corrupt View Post
Just out of curiosity, how would you have changed the original (N900) implementation to make it smoother?

I could take some guesses...
Along with accelerometer/gyro config values, I would add three more:
  • A time interval: i.e. 1 / Frames Per Second (FPS)
  • A min allowable movement per time interval
  • A max allowable movement per time interval
Using these values, combined with the deltas of both time and head tracking, you could smooth the movement, and you would also make the code immune to the GPU's speed.

Something like that. And maybe you could do a little better by using 2nd order variables like an acceleration delta (not to be confused with the accelerometer delta).
__________________
N9: Go white or go home
 

The Following 2 Users Say Thank You to daperl For This Useful Post: