  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Hi, all.
The other day I had an idea of how to make realistic animated ocean 
waves. Now I have implemented a first version of it and it turned out 
quite well. It's not finished, I still have some things to try. It also 
needs a better material.
Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)
Statistics: http://www.daniel-nilsson.com/ocean01.txt (for 250 frames)
The ocean surface is a mesh2 generated from a parametric surface defined 
by three functions: x(u,v,t), y(u,v,t), z(u,v,t). I tried to use a 
parametric object instead of mesh but it is much slower and looks no 
better. The material is a uv mapped texture map using a function pattern 
that controls the amount of foam.
There is no data saved between frames, no slow simulations, just 
functions. It actually rendered much faster then I though it would, 
almost 10 frames/minute on one core of my core2 quad @2.4GHz for 320x240 
and no aa.
I'll post the code when it is finished and cleaned up.
-- 
Daniel Nilsson
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Daniel Nilsson <pov### [at] daniel-nilsson com> wrote:
> Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)
Hum... Media Player won't play media...
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
clipka nous illumina en ce 2009-01-22 19:31 -->
> Daniel Nilsson <pov### [at] daniel-nilsson com> wrote:
>> Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)
> 
> Hum... Media Player won't play media...
> 
> 
Same thing here. Refuse to play.
-- 
Alain
-------------------------------------------------
Where the press is free and every man able to read, all is safe.
Thomas Jefferson
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
clipka wrote:
> Daniel Nilsson <pov### [at] daniel-nilsson com> wrote:
>> Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)
> 
> Hum... Media Player won't play media...
> 
> 
Try right-click on link, save to desktop, then play it from there. Works 
OK for me.
Jack
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Alain <ele### [at] netscape net> wrote:
> > Hum... Media Player won't play media...
> >
> Same thing here. Refuse to play.
Glad to here it's not just my MP being crapped up again... had a problem
recently with that "alien in the park" movie, where my MP wouldn't install a
proper codec automatically for some stupid reason, so I had to find out how to
do that manually.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
jj <noname@newsgroup> wrote:
> > Hum... Media Player won't play media...
> >
> Try right-click on link, save to desktop, then play it from there. Works
> OK for me.
Was the first thing I did when it didn't play right from the net. No-go though.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On Fri, 23 Jan 2009 04:53:50 EST, "clipka" <nomail@nomail> wrote:
>jj <noname@newsgroup> wrote:
>> > Hum... Media Player won't play media...
>> >
>> Try right-click on link, save to desktop, then play it from there. Works
>> OK for me.
>
>Was the first thing I did when it didn't play right from the net. No-go though.
>
>
VCL Media Player plays just about anything even broken downloads.
-- 
Regards
     Stephen
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Alain wrote:
> clipka nous illumina en ce 2009-01-22 19:31 -->
>> Daniel Nilsson <pov### [at] daniel-nilsson com> wrote:
>>> Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)
>>
>> Hum... Media Player won't play media...
>>
>>
> Same thing here. Refuse to play.
> 
Hmm, I encoded it with mencoder in linux with some settings I found on 
the net. If someone can tell me some working options I'll use them. 
Otherwise I will experiment some and test in windows before posting the 
next time. I'm new to video encoding so I though that a MPEG-1 file is a 
MPEG-1 file, and works everywhere. Obviously, that's not the case.
-- 
Daniel Nilsson
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Stephen <mcavoysAT@aolDOTcom> wrote:
> VCL Media Player plays just about anything even broken downloads.
Thanks for the advice, but I'd like to stick to WMP if it can be helped.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Daniel Nilsson <pov### [at] daniel-nilsson com> wrote:
> Hmm, I encoded it with mencoder in linux with some settings I found on
> the net. If someone can tell me some working options I'll use them.
> Otherwise I will experiment some and test in windows before posting the
> next time. I'm new to video encoding so I though that a MPEG-1 file is a
> MPEG-1 file, and works everywhere. Obviously, that's not the case.
That's what I thought as well - and I also thought that a .wma file is a .wma
file... but WMP keeps giving me painful lessons on this topic :-/
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |