View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#2855
Originally Posted by ysss View Post
Check this out and go 'WTF'

http://www.youtube.com/watch?v=bBQQE...layer_embedded
Very simple. That's zero lines of code inside the OpenGL render loop. When the program starts it makes the assumption that the pad is perpendicular to your line-of-sight. An accelerometer/gyro thread fills the line-of-sight delta coordinates for the transformation matrix.

Cool, but very far from magic.
__________________
N9: Go white or go home
 

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