Away3D fast animated bitmap material
October 18th, 2007
While working on the next demo for the new improved PhongMaterial, i wanted to add some animated texture on a model… but the MovieMaterial was just eating my cpu resources! So I’ve reused a concept I had in my bitmapdata engine.
I think that the animators among us will love this one: the new Away3d AnimatedBitmap class…
it’s using no expensive draw(), no expensive copyPixels(), and it renders at the speed of regular texture like the BitmapMaterial!
It supports also loops, and will support much more play options since it seams to be fast, but right now i’ve more than enough to play with, so I will first finish that PhongShading demo!






so, basically, you simply pre-render movie clip into array of BitmapData?
Comment by makc
— October 19, 2007 @ 9:02 am
Yes, it’s so simple i don’t even understand why it was not done before!! But there are of course some backsides like RAM usage, Mouse events… but i think that for most of elements that requires some animation with good prerendered definition like smoke coming out cigarette, evoluating cloud, water etc… that it’s just perfect.
I will extend it further that’s for sure…
Comment by admin
— October 21, 2007 @ 8:22 am
How would I go about tiling an animated texture?
Comment by Jarrad
— October 26, 2007 @ 5:22 am
Tiling is on our todo list and as we see it, it should work on every materials we have. The engine reads uv coordinates. If the information is animated or not, it just doesn’t matter, the engine will display it the way you will define it.
Right now we focus on the release 2.0 of Away3D. This feature will be added later on to the engine.
Comment by admin
— October 26, 2007 @ 6:40 pm