thibmaek / lumihoop-app

🏀 Tracking & mapping for the Lumihoop project
Other
3 stars 1 forks source link

Add debug UI #3

Open thibmaek opened 7 years ago

kevinmeyvaert commented 7 years ago

pls elaborate

thibmaek commented 7 years ago
// MARK: - Initialise debug interface
gui.setup();
gui.add(slider.setup("size offset", 0.5, 0, 1.0));
…
// MARK: - Draw debug interface
// Use size offset to compensate beamer distance
gui.draw();
/* - ofxGui - */
#include "ofxGui.h"
…
ofxPanel gui;
ofxFloatSlider slider;
thibmaek commented 7 years ago

@kevinmeyvaert fixed in latest commit

thibmaek commented 7 years ago

@kevinmeyvaert reclone this project to the following filepath: of_v0.9.8_osx_release/apps/myApps/lumihoop-socket/lumihoop (or ../../../ looking at it relatively). Then just run of develop branch and everything should work.

You can set debugMode to false or true in the ofApp::setup() method.