Syphon & SpriteKit

Home Forums Syphon Syphon Implementations – User Syphon & SpriteKit

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #59077
    boblemarin
    Participant

    Hi there,

    I’m trying to implement a Syphon server into a desktop SpriteKit application.

    Has anyone had any experience with sending frames from SpriteKit via Syphon ?

    Thanks…

    #59078
    vade
    Keymaster

    So, this is a little tricky.

    SpriteKit can, as of El Capitan, use Metal, not OpenGL, as a rendering engine.

    Syphon does not (yet?) support Metal.

    SpriteKit typically defaults to using OpenGL Core Profile behind the scenes.

    Syphon does not yet support Core Profile in the main release. There are however forks of Syphon that can get you there.

    As for integration, you are likely going to have to make a custom SCN or SKNode that makes its own renderer,and implement syphon there. Likely it should be a root node and render its children prior to evoking some sort of texture copy phase to nab the contents of the current rendered buffer.

    Something perhaps like the QC plugin does:

    https://github.com/Syphon/Quartz-Composer/blob/master/SyphonQC/SyphonQC/SyphonServerQCPlugIn.m#L189

    #59079
    boblemarin
    Participant

    Thanks for the links, I’ll try to manage something based on your suggestions, and post here if I make any progress.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.