openFrameworks addon to control show-lasers using the USB interface by RayComposer.
C++ openFrameworks addon for interfacing with the ILDA DAC interface by RayComposer. Similar to the ofxEatherdream the addon is designed to be used with ofxIlda.
Written by Jonas Fehr and is based on the API by Robin Adams (RayComposer).
-
Copy to your openFrameworks/addons folder or use
git clone
-
copy following lines into the
Run Script
underBuild Phases
in Xcode. It will copy the files needed at the right place and redirect a path.
# Copy libraries for the RayComposer USB dongle.
rsync -aved ../../../addons/ofxRayComposer/api-lib/osx_x86_64/librcdev.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
rsync -aved ../../../addons/ofxRayComposer/api-lib/osx_x86_64/librcdev.1.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
rsync -aved ../../../addons/ofxRayComposer/api-lib/osx_x86_64/librcdev.1.6.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
rsync -aved ../../../addons/ofxRayComposer/api-lib/osx_x86_64/librcdev.1.6.0.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
rsync -aved ../../../addons/ofxRayComposer/api-lib/osx_x86_64/libusb-1.0.0.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/lib/";
# redirect
install_name_tool -change @executable_path/lib/librcdev.1.dylib @executable_path/../Frameworks/librcdev.1.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";
-
To avoid linker problems when compile your code, drag the file
librcdev.1.6.0.dylib
from../ofxRayComposer/api-lib/osx_x86_64/
into your project folder (fx. src)
the example is an adaptation of the example provided with ofxIlda using this DAC instead of Eatherdream.
the addon is designed to be used with:
- ofxIlda (https://github.com/memo/ofxIlda)
tested on
- openFrameworks 0.10
- MacbookPro mid 2012 (2,6 GHz Intel Core i7 | 8 GB RAM)
- OSX El Capitan 10.11.4
- Xcode 7.3
none
- updated RayComposer API to 1.6
- initial version
The c++ code in this repository is available under the MIT License.
The use of the API is free of charge as long as it's used to drive the RayComposer hardware. (C) 2018 RayComposer - Robin Adams