Send or receive openFrameworks textures to other applications which use DirectX and OpenGL with Spout
Forks
Forks pushed to more recently than elliotwoods/ofxSpout itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
roymacdonald/ofxSpout
nama-gatsuo/ofxSpout
ElectronFlowVJ/ofxSpout
Eotel/ofxSpout
StudioDanielCanogar/ofxSpout
prisonerjohn/ofxSpout
README
ofxSpout
Implementation of Spout v2 for sharing textures between applications (including DX and GL).
Tested with: openFrameworks 0.10.1 at a1deaf147bf0f9bbd2282db880afd23fd4cb7a7f Visual Studio 2017 32bit and 64bit Windows 10
- Spout v2.007
Usage
Sending
``
c++ class ofApp { ofxSpout::Sender sender; }
c++ void ofApp::setup() { sender.init("My Sender"); //... }
void ofApp::update() { sender.send(myTexture); }
Receiving
c++ class ofApp { ofxSpout::Receiver sender; }
c++ void ofApp::setup() { receiver.init(); //... }
void ofApp::update() { receiver.receive(myTexture); } ``
ofxAddons