On Sep 21, 2008, at 4:50 PM, Knut Urdalen wrote:
Triggered by Jensa's recent post with his sailboat I remembered
that I have been studying a paper lately on Interactive Animation
of Ocean Waves [1][2] which seems to be the best solution to adapt
for real time rendering of nice looking ocean waves [3] in a 3D
engine in Flash. I discussed this paper some time ago with Tonny
Espeset at Electric Oyster [4] and he said this should be possible
with their engine.
What about Away3D?
Can you do it? Sure. You can do anything in AS3 that you can in any
other language. Will it run in realtime and look decent, probably not.
This has nothing to do with which 'engine' you use. The algorithms
listed in that paper are very expensive and will demolish your
processor. All of the calculation does is end up giving you
positional data for the mesh.
I'd expect waay less than 1 frames/sec, and it won't look as good as
what you see in that paper. The shading alone isn't going to run well
at that resolution.
You are better off trying to use the native flash routines -
combinations of perlin functions for example.
good luck,
jon