GL Line Scroll/Repeat

scalf's picture

Hello,

I am trying to get a GL line to seem to scroll across a window, continuously.

In the comp attached you can see I have made it scroll but I would like it to scroll continuously and not back and forth which approaches a pseudo-effect.

I was thinking having the line shift to the bottom rapidly after reaching the top or outside of the screen space but there must be an elegant way to do this?

Thanks

PreviewAttachmentSize
Line Scroll 0.1.qtz37 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

gtoledo3's picture
Re: GL Line Scroll/Repeat

Search for my "gt-l5" or previous "l" compositions here... They have an auto scroller feature.

Edit- here's a link: http://kineme.net/composition/gtoledo3/GTL3

scalf's picture
Re: GL Line Scroll/Repeat

That looks great, I'd love to take a look at it.

I'm going to have to ask that question though: how do you download it? I looked on the page, logged in, checked beta-tester, etc, am I missing something?

Thanks

gtoledo3's picture
Re: GL Line Scroll/Repeat

Oh yeah, I think I may have taken it down because of my using it for something commercial. I'll see if I have any of the relevant code around still.

The basic idea is to constantly add an x value via patch time to your mouse result, before you collect your queue. Then you stuff the renderer in a 3d transform and offset it by that amount that you're adding. Now, if you multiply right after the patch time, before the other stuff, you have a pace.

scalf's picture
Re: GL Line Scroll/Repeat

Oh I see, I think I get what you are saying, I'll have to try it out and see if I can make it run like so.

I was also I think I may have a method using interpolation to achieve the effect, we'll see.