jit.gl. objects communication with syphon
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.
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.
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!
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...!
Maybe with jit.gl.texture...
Oh, and i've got anim.drive there also. That wont work...wait a sec...
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.
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.