Add trails to moving objects in a Papervision 3D scene. Demo and source code included.
VIEW THE DEMO
DOWNLOAD THE CODE
There is a blog entry over at http://blog.zupko.info/?p=264 which sows you how to add trails to Papervision objects. If you ever played the game Wipeout you'll know what these trails look like. Needless to say they are pretty cool, and with the code supplied in the blog entry very easy to add to your own project.
The demo at http://lab.zupko.info/trails shows a bunch of coloured blobs moving around along a Bezier curve. It's a nice effect, but rather than simply repeat the same code here I have modified the Tweening example from earlier to show a similar bunch of blobs with trails moving around. I have also allowed you to select the transition type (as shown at http://hosted.zeh.com.br/tweener/docs/en-us/) from a dropdown combo box.
Once thing I did notice about the trails is that they appear to smooth the movement of anything moving in a straight line. Check out the linear transition type and you'll see what I mean. The blobs are actually moving in a straight line from one random point to another, but because the trails curve around you get the impression that the blobs are actually following a more natural, curved path.
As always I big thanks to Andy Zupko (http://blog.zupko.info/) for the inspiration and code that made this demo possible. I encourage anyone looking for some cool Papervision examples and source code to check out his blog.
Go back to Papervision Tutorials

Hide Application in C# , free download source code , must see Thanks for visit my page !!!!...
Part 1. declare const and API function This file came from Planet-Source-Code.com You can view ...
Intro to setting up your own home web-server with CentOS....
Programing is not for everyone, processing with electronic computers always is hard work not ph...
Habbo Retro is the term for an online interactive hotel forum/social network site that likens i...
In this tutorial we add mouse interactivity to the scene....
In this tutorial we allow the view of the isometric scene to be moved with the mouse....
In this tutorial we show the height of an isometric object by adding a shadow....
In this tutorial we modify the appearance of the isometric cube at runtime....
In this tutorial we add some animated isometric boxes to the scene....