Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
anarkavre's avatar
anarkavre
Honored Guest
12 years ago

Oculus Rift SDL2 OpenGL Demo

I created a simple demo to show how to use the latest Oculus SDK with SDL2 and OpenGL using SDK Rendering. You can access the source code here.

UPDATE: I updated the demo to work with the new SDK. Positional tracking is not applied to the camera, but it can easily be added. You can access the source code here. Here are two screenshots for those who are curious.

2 Replies

  • I might try this out on the raspberry pi, thanks.

    I tried to try it but I couldn't build the sdk. it said

    "{standard input}:1596: Error: selected processor does not support ARM mode 'dmb' "

    not sure what that means, I changed the build target from i386 to arm926, I'm pretty sure that's the right target for the raspberry Pi.

    there is an alternative to dmb, I might check this out later
    http://www.raspberrypi.org/forums/viewtopic.php?t=23616&p=322295