Reply To: Building a Syphon Cinder block application in Eclipse CDT

Home Forums Syphon Syphon Implementations – User Building a Syphon Cinder block application in Eclipse CDT Reply To: Building a Syphon Cinder block application in Eclipse CDT

#4696
vade
Keymaster

First thing I notice is that you want to clear *after* you mScreenSyphon.bindToDrawFrameOfSize, since that call binds an FBO, and that FBO ought to be cleared.

Im not sure what I ought to be seeing as far as imagery is concerned though. You are setting the matrixWindow (not sure what that corresponds to in GL terms, the viewport?) to the window size of your app, but the FBO’s extent is the crop-rect. Could that be part of the issue?

Are you getting an image that is the same size as you are specifying in cropRect? The newest Simple Client / Simple Server in SVN gives you the image size, so you can debug easier. Are you using the latest public download of Syphon, or the SVN source of the framework and implementations?