#include "ofApp.h" void ofApp::setup() { ofBackground(0); // Add our CustomSource to list of fbo sources of the piMapper // FBO sources should be added before piMapper.setup() so the // piMapper is able to load the source if it is assigned to // a surface in XML settings. piMapper.addFboSource(customSource); piMapper.setup(); // The info layer is hidden by default, press to toggle piMapper.showInfo(); } void ofApp::draw() { piMapper.draw(); }