Syphon server works with qt.movie but not jit.gl.text ???

plem's icon

See enclosed patch.
Why is Syphonserver sending video to fi. QLab when I use qt.movie, but not when I try to use jit.gl.text? (And of course that last one is the one I need...)
Sure I am messing this up. But where?

Thanks for all the help.

Max Patch
Copy patch and select New From Clipboard in Max.

Peter

vichug's icon

jit.gl.text needs an opengl context to work. The matrixoutput attribute doesn't seem to work, and i highly doubt it would do what you'd expect it to do if it did.
So you'd need to create the opengl context, render the scene, then use jit.gl.asyncread. or maybe you could send it as a texture.

Andro's icon

jit.gl.render world
jit.gl.window world
jit.gl.node world @name node-a @capture 1
jit.gl.texture (plug output of jit.gl.node into the texture object,send output of texture into the syphon object)
jit.gl.text node-a