// Using the WiiRemote for headtracking and cool 3D effects
Chung Lee demonstrates and explains how you can use a WiiRemote for headtracking and how this technique could be used for view dependent 3D effects on your desktop- or TV screen. Awesome!
I will try it out with my own 3D engine as soon as I have a WiiRemote or similar hardware. It should be easy to implement since the whole 3D illusion is based on simple matrix manipulation (projection matrix) of the rendering pipeline. The WiiRemote could be accessed with JInput.
But first I have to write some exams ;)
manipulation of the matrices could be a burden and can cause a gimble lock especially if its related with realtime input as the one with wii remote.
But since the wii-remote uses the camera model (ie Up vector, direction vector, and right vector, point of origin) which can be then manipulated by quaternions....i guess going into that direction will give u much better results..
Hope it helps :)
Posted by Rami Santina on August 17, 2010 at 06:17 PM CEST #
Ohh just saw that this is an old blog post (2007)...Opps so by now ur done, over it and beyond...anyways how is everything...cheers
Posted by Rami Santina on August 17, 2010 at 06:18 PM CEST #
Hi Rami. For some reason I never managed to get a Wii :)
I should have said "view frustum" instead of "projection matrix". As soon you have the relative position of the viewer to the screen in world units all you would have to do is to adjust the frustum to create the "look out of a window" experience. At least this was the plan :)
cheers
Posted by Michael Bien on August 18, 2010 at 12:03 AM CEST #