Reply To: [openFrameworks] How to access client as texture instead of just a draw?

Home Forums Syphon Syphon Implementations – User [openFrameworks] How to access client as texture instead of just a draw? Reply To: [openFrameworks] How to access client as texture instead of just a draw?

#18100
bangnoise
Keymaster

There’s no reason you can’t expose the texture as a texture if that’s of any help and you want to modify ofxSyphon to allow it (ofxSyphon would love the attention). Just be aware that the texture is dependent on the lifetime of the Objective C SyphonImage object, so don’t release it while it might still be in use by OF.

As OpenCV needs pixel-buffers from it you will have to copy it via an FBO to get those – for the reasons discussed in that thread. Holler if we can give you any pointers – sounds like you’re on your way though.