How to stream data from TouchDesigner into OpenFrameworks

I’m trying to setup a pipeline of generating images/RT video using TouchDesigner and passing that data into OpenFrameworks for further processing. Has anyone ever worked with this kind of pipeline before?

If you’re on OSX, Syphon will probably what you need

http://syphon.v002.info/

Spout is the Windows equivalent.

Hope that helps!

Hey Collin I’ve actually just had to do that myself funnily enough via Spout. ofxSpout will get you sorted out:

https://github.com/Kj1/ofxSpout2

ofApp is as simple as:

// Setup
ofSetFrameRate(60);
spoutReceiver.setup();

// Draw
ofClear(0, 0, 0);
spoutReceiver.updateTexture();
spoutReceiver.getTexture().draw(0, 0);

// Exit
spoutReceiver.exit();

Give me a shout if you get stuck.