http://savagelook.com/blog/away3d/dynamic-heightmaps-in-away3d

I made a small modification to the SkinExtrude class that allows you
to regenerate the position of its vertices without creating a new
instance of the SkinExtrude.  This makes 2 things happen:

1, it allows me to use dynamically generated height maps to create
liquid or flowing 3d effects.
2, it greatly reduces the memory usage that occurs if you constantly
try to remove/add the SkinExtrude to create the same effect.

Its a lot easier to look at than it is to explain, so take a look and
let me know what you think.  I actually have another similar demo on
the way tomorrow or Friday that I think you guys will find even
cooler.  Hope you enjoy it.  BTW, this is all Away3D 3.6.0 code.

Reply via email to