Openframeworks example for using Stimulant's AMPM
README
ofxAMPMClient
A simple openFrameworks client for Stimulant's AMPM project Not 100% full-featured, largely just a port of their Cinder example (including the notes below)Running sample app
To run this sample:
Download openFrameworks Clone this repository into openFrameworks/addons <!-- Install AMPM --> From the server directory, run: npm install After building this sample, run command prompt from the example directory with either of the following commands:
ampm - to load the default ampm.json file and run in the default (live) mode. ampm ampm.json dev - to load the ampm.json file, but run in dev mode. NOTE: Only setup/tested to run on Mac for now. Sorry!Node that due to App Transport Security introduced in Mac OS X 10.11 El Capitan, you'll need to add a vew lines to your project's Info.plist file warning about insecure access to localhost.
Specifically:
<dict> <key>NSExceptionDomains</key> <dict> <key>localhost</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> </dict> </dict> </dict>
This addition is included in the sample project, but you'll have to add it to projects created through Project Generator.
ofxAddons