This is my attempt at getting the Oculus Rift working with Panda3d.
to run this script you need to have python and the panda3d sdk
http://www.panda3d.org/download.php?sdk
Fist off you'll also need to configure your /etc/Config.prc file to contain these lines:
side-by-side-stereo 1 win-size 1280 800