Search code examples
c++actionscript-3gesture-recognitionflascc

From C++ to Actionscript via FLASCC


I'm hoping to get some feedback from anyone who is familiar with BOTH C++ AND Actionscript. I am not a C++ coder unfortunately.

I am developing Kinect applications using the AIRKinect framework. Unfortunately a limitation of this framework is the lack of any useful gesture dection algorithms.

I came across this gesture recognition library built in C++. http://www.nickgillian.com/wiki/pmwiki.php?n=GRT.FAQ

There is also the Flash C+++ cross compiler(formerly known as Alchemy) http://gaming.adobe.com/technologies/flascc/

I was wondering if it might be possible to convert this gesture recognition library into a swc(Flash format) so I can use it with AIRKinect?


Solution

  • It's Possible.

    FlasCC uses a version of LLVM-GCC 4.2 with a custom LLVM backend that generates ActionScript bytecode capable of running within the Flash Runtime. More specifically, the bytecode runs in the ActionScript virtual machine (AVM). This lets you compile arbitrary C/C++ code into a managed bytecode format capable of high performance execution within the Flash Runtime on Mac, Windows, or Linux

    more information read a FlasCC doucmentation: FlasCC

    If you want download FlasCC. rejoin this site(Adobe rebrand): https://creative.adobe.com/apps?trial=GAME&promoid=KBYQD

    and click Download.enter image description here

    redirect to this site. download Flascc tools. enter image description here