Skip to main content
New Participant
October 29, 2014

Is there a "barebones" program that exports the positions?

Is there a guide to writing a simple c++ console program that all it does is check the Rift's YPR and XYZ positions? My goal is to repeatedly send the position and rotation values to a memory-mapped file to be read by another program. Since not everything supports the Rift, I can get around that by making a game in any engine simply repeatedly read that RAM file. This method worked to implement the Kinect seamlessly in any game engine (or any kind of program for that matter), so I thought it might work here.

Would anyone know where I can start?

    1 reply

    New Participant
    October 30, 2014
    I don't know about an exact barebones program like you describe, but it should be pretty easy to whip together using the CAPI:

    https://developer.oculus.com/doc/0.4.3-libovr/_o_v_r___c_a_p_i_8h.html