cv.jit.touches and opengl

crub's icon

does anyone else have an interest in converting the cv.jit.touches patcher to opengl land, or has anyone worked on this already? cv.jit.touches works fine when used alone, but if you are interested in compositing its output with multiple jit.lcds (as i am), you quickly run into crappy performance and high cpu usage. i posted earlier about a very intermittent but consistent crash in my tracking patch; i am thinking maybe this route might be the answer?

Jean-Marc Pelletier's icon

Hi,

I think the issue here is that you're using several jit.lcd objects. cv.jit.touches just reports coordinates, so there's no reason you wouldn't be able to use those to control OpenGL.

prismspecs's icon

How do you extract the coordinates from jit.touches? If I use unpack it just gives me one of them.