Hello! I have an app that I would like to make server of. I don’t know how to send images from a NSOpenGLView, should I use publishFrameTexture? or bindToDrawFrameOfSize?
I tested the last one but i’m getting chopped images in the client.
any help would be appreciated!
You can use either, but I’d suggest using bindToDrawFrameofSize. It uses an internal FBO, which means you will need to get the captured frame from the Syphon Server, in your server app, and draw it on a quad in your NSOpenGLView to see it there.
To fix the size / clipping issues, ensure your passed in sizes match the viewport, size of your NSOpenGLView, etc, and that your ortho and coordinate system assumptions are correct.