Reply To: ofxSyphonServer texture is not properly backed. Cannot draw.

Home Forums Syphon Syphon Implementations – User ofxSyphonServer texture is not properly backed. Cannot draw. Reply To: ofxSyphonServer texture is not properly backed. Cannot draw.

#66950
bangnoise
Keymaster

It would be easier to help you if we could see your drawing code, or if you supplied the simplest possible example which doesn’t work as you expect it to.

In the absence of any concrete information, what follows is pure speculation –

Syphon should work happily with Core Profile or Legacy OpenGL versions.

In ofxSyphon/example-Basic, there are two Syphon servers, to illustrate the two ways of using ofxSyphonServer. One publishes a texture, the other the contents of the window. If you just want to publish the contents of your OF window, then you don’t need an ofTexture and you don’t need to use publishTexture() – in the example, you are only interested in what mainOutputSyphonServer is doing. You can ignore code unrelated to it but you should pay attention to the sequence in which things happen – that is, draw what you want the server to capture, then call publishScreen().

Hope this helps – if not, show us some code – and if you have compilation errors, tell us what the errors are.