Away3D multi-knight demo
3d Flash, Away3d code demos August 21st, 2012The animation system in Away3D has had a fair amount of refactoring in recent times, and as yet, less examples actually demonstrating performance and features. The demo above is intended as a first step to rectify this, in this case for the vertex animation system.
Animation data in this demo is imported via the MD2 format using one of the more well known examples from Quake days, the Perelith Knight. One of the great things about MD2 is its small size – the entire swf comes in at a smidge over 700k – an impressive feat considering the variety of animation and textures included.
Another advantage of vertex animation over other forms such as bones is its playback efficiency. Here we have 400 independently animating avatars with normal maps, specular maps and dynamic shadows, all running at a smooth 30fps on an average machine.
Full source is available for the demo – just select “View Source” from the right-click menu or use the direct link here to view and download. The demo uses the bleeding-edge build in the dev branch of Away3D’s github, so be sure you have updated your source if you are interested in compiling the code.











August 21st, 2012 at 4:48 am
Looking gooooood!
Really awesome work guys!
Keep on rockin’ !
August 21st, 2012 at 7:16 am
I’m diggin’ the 700k swf size for that demo!
September 27th, 2012 at 4:42 am
[...] The Perelith Knight asset come from this awesome example from Away3D’s hero Rob Bateman : Away3D multi-knight demo. I used Misfit Model 3D software to manage MD2 files changing animations name and moving a bit the [...]
November 11th, 2012 at 7:30 am
it’s very nice , man !~ good job !
March 4th, 2013 at 7:42 pm
This makes me so excited about juicing up my 3D puzzle game! Thanks for the excellent demonstration.