Using the new Flash 11 incubator player release i have done a quick test of some 3D GPU accelerated ribbons using the Away3D engine.
The Away3D engine seems the simplest way of interfacing with molehill at the moment i would say, and it didn’t take more than a couple of hours to get my head round using it and creating these ribbons. They are quite optimised as i am updating vertex positions on a single plane for each ribbon rather than creating new planes for each segment which increases the draw calls significantly and resulting in not a lot of ribbons running at once.
To get this to work you will need to get the latest incubator beta Flash player 11 installed, the Away3D engine and lastly i have used the Tweenmax engine for some simple tweens with the ribbon position targets.
The code at the moment is a bit of mess as i was just playing around with different movement variables and effects with the ribbons, but hopefully it will act as a good place to learn how to use the new molehill capabilities and when i have a bit of time i will update the source code with comments and clean it up a bit too.
The source code is available for download on the link below.
view 3D GPU ribbons v3
view 3D GPU ribbons v2
view 3D GPU ribbons v1
download source code
contact me




