Skip to main content
New Participant
May 31, 2013

Getting Rift sensor data in Adobe Air

Hi everyone! Been lurking around here for a while (with only one post until now) and I decided to quickly show off what I've been bashing my head against for a few days now.

http://instagram.com/p/Z9LV_HBMrf/

This is a simple Air app running on Windows 8 that displays the Rift sensor data, updated every frame. It uses an Adobe Native Extension to interact with the Rift. The ANE is, like all ANEs, made up of a Windows DLL that is more or less the Minimal Oculus Application from the Wiki tutorials with some modifications to make it play nice with Flash (not easy!!!), an Actionscript 3 library (the language used to write the logic behind Flash/Air apps) that shares the same methods as the DLL, and some XML data to combine the two.

The app itself is simply a Flex app that makes use of the ANE by initializing the Rift, getting the sensor data every frame, and then clearing and closing down the Rift and the native extension.

More to come soon, pending brain damage!

-Micheal

    3 replies

    Inspiring
    June 1, 2013
    Nice work man! I guess that is the hardest part.

    I assume you will be combining this with some 3D graphics. What library or engine will you be using?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    grimmrobeAuthor
    New Participant
    June 4, 2013
    Thanks! I was probably going to use Away3D, but another cool guy has that going on in another thread so I'll see what his implementation looks like and probably mess around a bit from there. Real life has been keeping me out of the virtual though so I'm sure it'll be a while!
    Up and Coming
    June 4, 2013
    "grimmrobe" wrote:
    ... More to come soon, pending brain damage! ...

    Don't let this project (or your "real" job) melt your brain, while you keep up the great work! :D
    This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.