Blending OpenGL with video

    Oct 16 2010 | 11:13 am
    I've been trying to create something which mixes several layers of video with an OpenGL render. I think my problem lies in creating an alphamask for the render with the video grab: it appears to be dropping the resolution of the GL shapes down to that of my jit.qt.grab, rather than just masking the output.
    I'm sure I'm just approaching this the wrong way, so whilst I'm happy to post my crazy, sprawling patch if need be, I thought it might be just as easy to see if anyone can point me in the direction of a reference/tutorial/post that covers this? I get the feeling I can't see for looking!

    • Oct 17 2010 | 8:08 pm
      Try making a simplified version of what you want and posting it up. It also seems like you could just mess with blend_enable on or something like that..but what about just putting one gl shape with a video and post that up and see what we can do.
    • Oct 17 2010 | 9:42 pm
      Thanks, laserpilot. I've tried to strip back my patch as much as possible here, but it still shows more or less what I'm trying to get across - particularly with the way the GL grid is rendered in the main window.