Skip to content

openFrameworks addon for the ILDA dongle by RayComposer to be used with ofxIlda

Notifications You must be signed in to change notification settings

jonasfehr/ofxRayComposer

Repository files navigation

ofxRayComposer

openFrameworks addon to control show-lasers using the USB interface by RayComposer.

Introduction

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).

Installation

  1. Copy to your openFrameworks/addons folder or use git clone

  2. copy following lines into the Run Script under Build 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";

  3. 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)

Example

the example is an adaptation of the example provided with ofxIlda using this DAC instead of Eatherdream.

Dependencies

the addon is designed to be used with:

Compatibility

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

Known issues

none

Version history

v0.2

  • updated RayComposer API to 1.6

v0.1

  • initial version

Licence

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

About

openFrameworks addon for the ILDA dongle by RayComposer to be used with ofxIlda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published