best way to draw over cv.jit.touches data?

Oct 27, 2011 at 9:30pm

best way to draw over cv.jit.touches data?

right now I have this:

– Pasted Max Patch, click to expand. –

the problem is that it doesn’t quite work.. it’s hard to explain but easy to see. something is getting fudged up. part of the problem is that for certain touch indexes, there is no data, even though it is supposed to recycle, so the drawing coords don’t get an update. also I’m wondering if i’m even on the right path anyway…

#59594
Oct 28, 2011 at 3:50am

OK I figured out that part… should have been using pack instead of pak. Now I’m having another issue which is flicker. Any ideas?

– Pasted Max Patch, click to expand. –
#214481
Oct 28, 2011 at 5:22am

I’m thinking maybe rendering it with OpenGL would help, does that sound right? Someone said there may be too many calculations going on before I draw. I think it’s just flicker, though. When I did game programming years ago I remember having to render an offscreen buffer so I could flip between two rendering surfaces and that eliminated the flicker, but I have no idea how that would look in MAX ;-0

#214482

You must be logged in to reply to this topic.