tb Tunnel

I’ve been working on a QTZ tunnel effect, but taking a different approach to the one goto10 used for his excellent take on the theme.

Since I’ve been working a lot with GLSL, I thought I’d try writing a shader to do something similar. In fact, all the shader does, is create a bendy tube, and apply a texture to it. All the rest of the work is done with a series of CIFiltes. My brainwave, and the germ for the project, was the realisation that if I applied a frame-roll type effect to the texture on the tube and positioned it so that we were looking down the inside of the tube, I could make it look the viewer was travelling down a tunnel. Obvious, really.

I’ve added a few other controls, too, and setup the texture movement to be synced to VDMXs Measure Position.


Rate Select:
Rate of tunnel movement, based on Measure Position.

Curve Controls:
Rate and amount of bends in tunnel

Tile Controls:
Controls for mirroring, and tiling the input image.

This is an important one.
Live Input
uses the realtime input (as you’d expect). The only problem with this is that movement in the image can conflict with the movement of the tunnel effect, making it look jerky, so I’ve added
Captured Input
Grabs a still-frame at regular intervals (set by the rate control), and uses this as the texture. The downside is that you won’t see changes to the tile controls until the next cycle.

Color Controls:
Obvious, really.

Thanks to aienn for the footage used in the screenshots

4 Responses to “tb Tunnel”

  1. October 26, 2008 at 9:37 pm

    Nice. How Dr. Who-esque! 🙂

  2. October 26, 2008 at 9:38 pm

    oh! and when can we get out hands on it??

  3. 3 toneburst
    October 27, 2008 at 11:41 am

    I’ve added it to the Box.net widget, so you should be able to download it now. I’ve also put it on Memo’s site at

    It still has a few glitches, which I’ll have to try and sort out, but it’s basically workable.


  4. October 27, 2008 at 4:48 pm

    Nice one! I can’t wait to make it CoGe-compatible 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

October 2008


Blog Stats

  • 492,858 hits

%d bloggers like this: