Combine live video feed with open gl sphere
I am currently trying to take a live video feed and a sphere generated by open gl and fuse them with each other however I have not been able to find a way to do this. The problem seems to be that open gl is uivy and the video is in rgb format but I can't find a tool to convert them to the same thing. The other thing is that the open gl object appers to be rendered on the graphics card whereas the video appears to be done with the cpu and there is no way to combine the two. I was wondering if anyone could help me with this?
Thanks in advance!
The patch is attached.
send the camera output to the left-most input of the jit.gl.material object.
actually what I am looking to do is crossfade between jit.grab, the video output, and the sphere with texture using jit.gl.gridshape . Is that possible?
capture your gridshape to a texture using jit.gl.node @capture 1, and crossfade using jit.gl.pix @gen xfade.