Forums > Jitter

Making multiple GL objects that scroll out of scope?


pmt
March 9, 2013 | 1:31 am

Hi,

I’m a long time Max/MSP user but very new to Jitter. I’m trying to create a data-driven animation in which a new 2D shape is created every minute in the center of the window, and then gradually scrolls left off screen (the width, height, color, alpha, etc. are determined by realtime data feeds). I imagine a train of these, possibly overlapping, moving slowly from right to left, with a new one added at the far right in one-minute intervals.

The problem is, I don’t know what combo of objects and/or what Jitter recipes might help me figure it out. I’ve been using jit.gl.multiple, jit.gl.gridshape, and jit.gl.sketch with decent success in another application, but that one doesn’t ‘lose’ objects off the screen (which i’d like to just disappear from RAM, since this has to run for 3 weeks uninterrupted). I’d appreciate any suggestions or guidance you could provide. Many thanks!

Best,

Peter


March 11, 2013 | 4:00 am

you might be interested in the flyover jitter recipe:

http://cycling74.com/2012/05/23/recipe-53-flyover/



pmt
March 11, 2013 | 1:54 pm

Yes, I’ve looked at that a few times but it is much more complex than my needs and beyond my understanding right now (given that I’m stille a Jitter newbie). I’m just working in 2D, and only really need scrolling in 2D with object creation on-the-fly (think of a top down view of a machine pumping out Hershey’s kisses onto a conveyer belt or something).

Can this be done simply with GL commands like gridshape/sketch/multiple and without getting into the complexity of textures, jit.gl.slab, etc. (which I haven’t gotten into yet).


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