Syphon to draw_pixels
Hello,
I trying to retrieve a QC composition as a texture for jitter.
I want to use the texture from [jit.gl.syphonclient] as a background with the draw_pixels feature.
Unfortunaltely I get this error :
jit.gl.render: destination must be a 2D matrix.
Is there a way to use my syphon texture without any jit.gl.videoplane or is it the only way?
Any idea?
Thank you.
Hello Kyred,
Why not simply draw the texure from the [jit.gl.syphonclient] to a videoplane ?
You can copy/past this from the [jit.gl.syphonclient] helpfile.
All the best,
TT
Thx but ... I want the draw_pixels feature ... or at least find a comprehensive way to manage the texture from syphon for a 2D use.
Using draw pixels is... not the "right/fastest/smartest" way to make a texture draw to the background of your screen. If you want to see the image from Syphon, just draw it with a video plane. What do you want to actually accomplish?
Hi Vade,
I don't know why draw pixels would not be the "right/fastest/smartest" way for a background texture, if you can just give a word on that.
I'm trying to get an effect as if you were inside a sphere, so you only see the back face. The textured sphere is actually rendered in QC.
In between, thanks for your syphon bridge, really great.
Because draw-pixels requires a CPU-side matrix to draw. Syphon outputs a texture that already resides on the GPU. Just draw it as a video plane, it will be faster, otherwise you would have to read back to the CPU, and then re-upload the matrix to the GPU, which defeats the whole purpose of Syphon.
Ok that' s clear, thank you!