Monday, May 23, 2011

Fishtank VR project with OpenCV and OpenGL

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.

  • 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:

No comments:

Post a Comment