Forums > Jitter

jit.gl. objects communication with syphon

June 9, 2013 | 11:01 am

hi! i ‘m a begginer in max so i need some help in my project.
First of all i am trying to send video data to syphon using gl objects and especially the "jit.gl.slab" object. I have read some other topics about other gl objects communication with syphon and the only thing that i found out is every guy suggest to use some objects such us "jit.gl.node" to communicate with syphon.

If there is anyone could give me a peace of advise, i will appreciate it.
Thanks.


June 9, 2013 | 12:54 pm

Hey!

Jit.gl.node @capture1, captures every gl object you connect to the center port. Gl.node then outputs everything connected as a texture, from the left port. You can send that texture to a slab, or straight to Syphon.

– Pasted Max Patch, click to expand. –

June 10, 2013 | 12:34 am

OK! i opened the patch but the jit.gl.node is missing, perhaps i don’t have it.
I use max 5, i was wondering if that object is contained only in max 6.
let me know…
cheers!


June 10, 2013 | 12:53 am

ok guys i searched about some gl objects tha are missing from my max 5 library and my problem is all the objects i want is for max 6.
If anybody could help to make an alternative way to manage the gl.slab communication with syphon with max 5, it would be great.
thanks a lot…!


June 10, 2013 | 1:25 am

Maybe with jit.gl.texture…

– Pasted Max Patch, click to expand. –

June 10, 2013 | 1:27 am

Oh, and i’ve got anim.drive there also. That wont work…wait a sec…


June 10, 2013 | 1:33 am
– Pasted Max Patch, click to expand. –

June 10, 2013 | 1:48 am

I have not used Max5, but i think you can use jit.gl.texture if you want to capture gl-objects. With a videostream it’s even easier, because you can just stream that baby straight into Syphon, or through a slab.

– Pasted Max Patch, click to expand. –

June 10, 2013 | 1:58 am

Here’s a picture of the patches, just in case somethings not working in Max5.

PIC



dtr
June 10, 2013 | 2:58 am

In Max5 you can use the ‘to_texture’ message to jit.gl.render to render the whole scene to a texture. These things are a lot easier with jit.gl.camera/node in Max6.

@Anton: please keep in mind that Syphon works with openGL textures. It can only receive the output of an object if that output is a texture. A matrix sent into jit.gl.slab/texture is converted to a texture. Not sure if you can send a matrix straight into the syphon object.


Viewing 10 posts - 1 through 10 (of 10 total)