quartz composition into syphon

stj's picture

Hi, I am trying to get a QC composition into Syphon. The Syphon plugin is installed, and the QC files in the library/application support/freeframe folder. That works for any of the applications I am using (SyphonCamera, Delicode NI-mate etc.). But QC doesn't work... Any ideas what I could try? Thank you!

usefuldesign.au's picture
Re: quartz composition into syphon

There are two demonstration compositions in the Example Folder in the Syphon QC .dmg file. One is a server the other a client.

Pretty simple you can input an image or use OpenGL and grab every layer below the Syphon Server patch's layer.

bangnoise's picture
Re: quartz composition into syphon

I'm not clear what you're trying to do - are you sending a QC composition running in the QC Editor to another app using Syphon? Do the example compositions that come with the Syphon QC plugin work for you? If not, you haven't installed the plugin. Check the Read Me. If the examples work, perhaps you could give a little more detail about what you're trying to do.

stj's picture
Re: quartz composition into syphon

I am trying to send a QC composition running in the QC Editor to Isadora using Syphon. The Syphon plugin is installed and so the compositions are in the Library/Application Support/Freeframe folder. I have been successfully sending video from different applications (SyphonCamera, Delicode NI-mate etc.) to Isadora using Syphon; but for some reason I cannot get the video from the QC viewer window into Isadora. Thanks for answering, both of you!

bangnoise's picture
Re: quartz composition into syphon

In Isadora, do you see the server with no image, or no server at all?

dust's picture
Re: quartz composition into syphon

isadora core takes native qc files so the process is now very simple as far as isadora is concerned.

1) take the syphon qc example client and publish an image output and get rid of the billboard.

2) publish the index as a input so you can select different server sources from isadora. (to publish a port right click patch > publish in-out....)

3) make sure you have the qc syphon plugin installed in /library/graphics/quartz composer plugins/....

4) place the modified syphon qc example client in your /system/library/compositions folder and launch isadora. (isadora should now see the syphon client as an actor that is added to the stage and connected to a ci projection actor.)

5) open up the syphon qc example server patch and run it in qc. (you should now see what is in the qc viewer inside isadora.)

see pic and patches for modified example.

PreviewAttachmentSize
Screen Shot 2012-08-16 at 9.56.24 AM.png
Screen Shot 2012-08-16 at 9.56.24 AM.png595.28 KB
syphon2isadora 2.zip10.63 KB

stj's picture
Re: quartz composition into syphon

Thank you Tom and Dustin, I have figured out what the problem was. I had the qc syphon plugin installed, but did not try the example composition. Instead I wanted to use existing compositions which did not render the image to a syphon server patch... I guess I need to learn more QC basics... just started four weeks ago. Thank you for your help :)

gtoledo3's picture
Re: quartz composition into syphon

I'm not sure if it was in the example compositions or not, but since you mention "render the image to a...", I figure I'll mention a cool function of the server patch.

There's a mode setting on it (can't remember the name) which will allow the server to broadcast an image connected to the image input port or do an "OpenGL Scene Grab". If you use that option, you don't have to stuff things in a Render In Image. The Syphon Server will "Grab" everything that's a layer number lower than the current layer number of the Syphon Server.

stj's picture
Re: quartz composition into syphon

Cool. Works perfectly. Thanks :)