jit.qt.grab with OpenGL

    Feb 02 2014 | 8:55 pm
    can anyone help me with the basics of opengl stuff if im trying to hook it up with jit.qt.grab, and am i even utilizing the graphics card in a way that will ease cpu usage if im literally just grabbing a live camera input with jit.qt.grab and then sending that directly to a jit.pwindow?
    if there is an equivalent of jit.pwindow that renders in the patcher using the GPU then that would be perfect, assuming it's actually beneficial to the cpu load.

    • Feb 02 2014 | 9:47 pm
      see jit.gl.videoplane help (or cornerpin)
    • Feb 02 2014 | 10:13 pm
      will dive in again, thanks :)
      and any idea if there would be any cpu advantage in chucking things onto the gpu if im not actually processing the video from my camera in anyway, just displaying it?
    • Feb 02 2014 | 10:56 pm
      Depends on your specific CPU, GPU and GPU bus speeds. A quick test of both options will tell you quickly. Though it will for sure offload some work of the CPU.
      Lots of posts on video optimization here in the forum.
    • Feb 03 2014 | 8:25 pm
      so is it possible to do anything like this with opengl like this with any easing of the load on the cpu, and if so how would it work in the OpenGL world?
    • Feb 04 2014 | 4:50 am
      Here is patch to get you started. I notice higher fps using it. Especially if your computer might need to do other things while displaying your video feed.