Closed jeraman closed 6 years ago
Yep - this is a "feature" of the IOSurface which backs a Syphon texture. You will have to bind a same-sized FBO and draw the Syphon texture into that, and then download from the FBO's texture attachment.
Thank you for the quick answer! Your solution works fine! ;)
Hello,
I’m trying to convert an ofTexture—extracted from a ofxSyphonClient—to an ofImage as follows:
The problem is that sFrame is not being currently drawn (line 7). My sTexture, on the other hand, is drawn as expected (line 2). No errors are shown in the console.
The same code works fine if the sTexture is loaded from somewhere else (say a ofVideoPlayer) instead of a Syphon client.
Is this a bug or am I missing something?