Submitted by , posted on 03 September 1999

Image Description, by

This is a picture of my (Aaron Hilton's) first OpenGL program called Yoink.

First I built a tube generated around a spline path (defined in the TunnelData.txt file). Then I took the geometry and scaled it with Sin/Cos. Finally I rotated the entire scene around the X and Y axis. The tube is drawn with random colours and transparency, which is simply left in the buffer to show a trail. Then there's a very transparent black plane (not back plane) that slips in and out of the near and far clipping planes, which cleans up the buffer whenever it becomes visible.

There ya have it.. download off my web page, tweak the TunnelData.txt's parameters and have fun! :)

Image of the Day Gallery



Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
Please read our Terms, Conditions, and Privacy information.