I am also currently working on an adaptation for the rift.
email me kiphaynes at gmail and perhaps we can collaborate. I'm working on the double viewport / transformation right now, so if you are focusing on the tracking, perhaps we can get it done faster!