SkinExtrude and dynamic height maps

24 views
Skip to first unread message

savagelook

unread,
Sep 29, 2010, 8:48:23 AM9/29/10
to Away3D.dev
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.

Peter Kapelyan

unread,
Sep 29, 2010, 11:19:43 AM9/29/10
to away3...@googlegroups.com
Looks awesome! Sounds cool too
--
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Fabrice3D

unread,
Oct 1, 2010, 4:40:10 AM10/1/10
to away3...@googlegroups.com
Just for info, HeightMapModifier.as in modifiers package was designed voor this kind of work.

Fabrice

savagelook

unread,
Oct 1, 2010, 8:42:21 AM10/1/10
to Away3D.dev
Of course there's a class in Away3D that already does it! I wish
there was a little better resource for keeping track of features.
Though I guess I only have myself to blame since I bought the book and
I think HeightMapModifier is mentioned in there.

Oh well, this is still some interesting stuff. I guess I have one
more demo to do now!

Fabrice3D

unread,
Oct 1, 2010, 8:59:11 AM10/1/10
to away3...@googlegroups.com
> Of course there's a class in Away3D that already does it!
we try add usefull stuffs in there!

Reading my few past messages, I see, I did mix missing words+dutch+bad english
while it should be exclusively bad english :D

Sorry for that, still recovering from my FOTB fever.

Fabrice

Michael Iv

unread,
Oct 1, 2010, 10:25:20 AM10/1/10
to away3...@googlegroups.com
Tony , exploring the trunk can also be helpful sometimes :))

savagelook

unread,
Oct 1, 2010, 11:23:22 AM10/1/10
to Away3D.dev
I do that on occasion Michael, thats why I ended up making my quick
SimpleShadow demo. But then I reach the materials directory and my
head just about explodes. :)
> explomas...@gmail.com
> t...@neurotech.co.il

Michael Iv

unread,
Oct 1, 2010, 11:57:08 AM10/1/10
to away3...@googlegroups.com
Yeah ,that is full of interesting stuff really.
Reply all
Reply to author
Forward
0 new messages