Reply To: OpenFrameworks and Cinder Syphon Server

Home Forums Syphon Syphon Development – Developer OpenFrameworks and Cinder Syphon Server Reply To: OpenFrameworks and Cinder Syphon Server

#5029
vade
Keymaster

Hey, interesting. I notice you are doing readback to the CPU via ofImage, you can make this a lot faster by using an ofTexture and using

http://www.openframeworks.cc/documentation?detail=ofTexture#ofTexture-loadScreenData

Rather than using the ofImage. When using ofImage for that, as far as I know, you readback to the CPU, rather than keeping the data on the GPU which is the main advantage of Syphon in general. Also, NSAutoreleasePools need to be made, and server needs to be released and stopped in the deconstructor. Otherwise, awesome!

I’ve changed your ofxSyphonServer, if its ok with you, I can throw this in SVN, giving you credit for the initial implementation.

Thanks so much!