POV-Ray : Newsgroups : povray.binaries.animations : Ocean waves (WIP) Server Time
15 May 2024 14:52:30 EDT (-0400)
  Ocean waves (WIP) (Message 1 to 10 of 21)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Daniel Nilsson
Subject: Ocean waves (WIP)
Date: 22 Jan 2009 17:34:11
Message: <4978f463$1@news.povray.org>
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

From: clipka
Subject: Re: Ocean waves (WIP)
Date: 22 Jan 2009 19:35:00
Message: <web.49790fe645771519a7aaf540@news.povray.org>
Daniel Nilsson <pov### [at] daniel-nilssoncom> wrote:
> Animation: http://www.daniel-nilsson.com/ocean01.mpg (1.6Mb)

Hum... Media Player won't play media...


Post a reply to this message

From: Alain
Subject: Re: Ocean waves (WIP)
Date: 22 Jan 2009 22:05:09
Message: <497933e5@news.povray.org>
clipka nous illumina en ce 2009-01-22 19:31 -->
> Daniel Nilsson <pov### [at] daniel-nilssoncom> 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

From: jj
Subject: Re: Ocean waves (WIP)
Date: 22 Jan 2009 22:35:47
Message: <49793b13@news.povray.org>
clipka wrote:
> Daniel Nilsson <pov### [at] daniel-nilssoncom> 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

From: clipka
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 04:55:01
Message: <web.497992fe45771519a7aaf540@news.povray.org>
Alain <ele### [at] netscapenet> 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

From: clipka
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 04:55:01
Message: <web.497993ae45771519a7aaf540@news.povray.org>
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

From: Stephen
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 09:13:05
Message: <g1kjn4tcpt8kkrjkkp2id3v9v1aelm98b8@4ax.com>
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

From: Daniel Nilsson
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 11:42:28
Message: <4979f374$1@news.povray.org>
Alain wrote:
> clipka nous illumina en ce 2009-01-22 19:31 -->
>> Daniel Nilsson <pov### [at] daniel-nilssoncom> 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

From: clipka
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 12:40:01
Message: <web.497a00a24577151bdc576310@news.povray.org>
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

From: clipka
Subject: Re: Ocean waves (WIP)
Date: 23 Jan 2009 12:50:01
Message: <web.497a031a4577151bdc576310@news.povray.org>
Daniel Nilsson <pov### [at] daniel-nilssoncom> 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

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.