Forums > Jitter

Connecting gl objects in 2d space with lines

Aug 05 2013 | 6:31 am

…is what I’m trying to do. Typically I’ve seen tasks like this handled by jit.expr, but that takes better math understanding than I am able to conjure up.

right now I’ve hooked up a to, and I am getting objects in the right spots, so to speak.

But handling the connections between them… that’s doing my head in a bit, I must say. Any pointers?


Aug 05 2013 | 10:39 am

maybe send your position matrix to a @drawmode lines (or lineloop)?

otherwise, please post a patch.

Aug 05 2013 | 4:09 pm

that did it :) There’s still some oddities with the end points not matching up with the gl.multiple I’m using, but it looks aces.


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter