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

#4691
eight
Participant

I am trying to crop and warp a very wide image in cinder and pass it over to isadora via syphon cinder block. I looked in the documentation, but still can’t figure out how the scaling is done and what texture formats are supported in

[(SyphonServer *)mSyphon publishFrameTexture:texID textureTarget:GL_TEXTURE_2D imageRegion:NSMakeRect(0, 0, inputTexture->getWidth(), inputTexture->getHeight()) textureDimensions:NSMakeSize(inputTexture->getWidth(), inputTexture->getHeight()) flipped:false];

calls.

My cropped and warped texture is displayed correctly in cinder (http://forum.libcinder.org/topic/crop-image-with-polygons#23286000000721008), then frames are published into a syphon server via above call, but in the Simple Client they are blown up (please see the picture: http://post.scriptum.ru/svalka/dragToSyphon.png

(cinder display on the left, client display on the right)

I would appreciate a clarification about the texture formats and scaling rules while publishing frames on the Syphon server.

Thanks.

–8