View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#2858
Originally Posted by Capt'n Corrupt View Post
The 'head tracking' in the title may imply that there's more to this technique than relative device movement. Even the first shot shows an individuals head being quite smoothly tracked.

If they are using head tracking, I suspect that it's a combination of positional adjustments (eg. gyro), with facial detection via the camera. The resultant animation looks exceptionally smooth, and although I quite sure that modern SoCs have DSPs that can handle these sort of tasks, I am flabbergasted at how smooth it truly is. Perhaps a clever usage of GPU shaders?
You're right, their doing head tracking. But again, the head tracking thread is just setting the variables for the matrix transformation. That's it. There's no extra or special code. And if you'll notice, there's no complex lighting whatsoever; the pixel shader code is basically byte copies. You should not be flabbergasted; this is why GPUs were developed in the first place. Think of the pad movement as a joystick movement for a stationary camera.

head tracking thread: CPU and DSP
most everything else: GPU

A dual-core CPU and that monster GPU makes this a simple task for an iPad 2.

EDIT:

And actually, this would be simple for an n900, or any similarly configured device.
__________________
N9: Go white or go home

Last edited by daperl; 2011-04-12 at 15:22.
 

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