A toy Fishtank VR application I've made using OpenCV. It uses head tracking to adjusts the view according to the position of the viewer (see related posts).
The OpenGL projection matrix was modified to allow rendering objects in front of the projection plane (the window) so that objects can "pop out" the screen.
TODO:
- Stabilize the head tracking, using templated object search
- Calibrate the paralax factor, the apparent motion is not very realistic
- Replace bitmap reading routines
- Refactor
Download the code.
Builds with Xcode, but requires the OpenCV Framework to be installed. Also compiles with cmake in linux.
Similar projects:
http://www.tuaw.com/2011/04/11/ipad-2-gets-glasses-free-3d-display-using-front-facing-camera-fo/
No comments:
Post a Comment