POV-Ray : Newsgroups : povray.binaries.animations : water waves simulation (349k) Server Time
20 Jul 2024 05:25:34 EDT (-0400)
  water waves simulation (349k) (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Apache
Subject: Re: water waves simulation (349k)
Date: 22 Nov 2001 08:14:52
Message: <3bfcfa4c$1@news.povray.org>
> My animations used 256x256 and 512x512, generated with a separate program
> that is faster than povray in this aspect (only a few seconds per frame)
What separate program did you use?

> The nice thing about an isosurface would only be that you don't need large
> data files and it's possible to render arbitrarily sized water surfaces.
Does this mean that for rendering *huge* water surfaces isosurface is
recommended?


Post a reply to this message

From: Christoph Hormann
Subject: Re: water waves simulation (349k)
Date: 22 Nov 2001 14:36:27
Message: <3BFD53AD.94BC43FF@gmx.de>
Apache wrote:
> 
> What separate program did you use?

My own. ;-)

> Does this mean that for rendering *huge* water surfaces isosurface is
> recommended?

Well, it's not exactly 'recommended', but it's more realistic than a plane
with normal and with a heightfield it's simply not possible to make a
large water surface extending from foreground to horizon.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Apache
Subject: Re: water waves simulation (349k)
Date: 22 Nov 2001 16:55:39
Message: <3bfd745b$1@news.povray.org>
In that case I'll have to start tweaking with isos, because I like lakes...

> The main idea is to superpose several sine waves (160 in this case) with
> different frequencies and directions according to a certain distribution
> function.
Where can I get (slightly readable) info about the distributions of sine
frequencies and directions?


I downloaded 'wt_water.pov' from your website but it doesn't seem to work in
PoV3.5 (release 7).
The parses stops here: #declare fnRMF=function{"ridgedMF",<0.07, 2.2,  7,
0.6, 0.9>}
because of this error: "Parse Error: Expected 'valid function expression', <
found instead"
Maybe I should download megapov for this to work?


Post a reply to this message

From: ingo
Subject: Re: water waves simulation (349k)
Date: 22 Nov 2001 17:21:38
Message: <Xns9161EDA334490seed7@povray.org>
in news:3BFB7218.72789514@gmx.de Christoph Hormann wrote:

> Simply random waves does not work, you have to use the correct
> distribution functions for frequency and direction to get it right.
> 
> The formulas are given in:

Failed to understand the math, so my question may be complete nonsense. 
Is it possible to turn all this into a pattern for POV-Ray?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Christoph Hormann
Subject: Re: water waves simulation (349k)
Date: 23 Nov 2001 04:42:28
Message: <3BFE1A01.7A738073@gmx.de>
Apache wrote:
> 
> In that case I'll have to start tweaking with isos, because I like lakes...
> 

I just did a first test and it is very slow (30 minutes for the scene the
animation is made from, 512x384 with only 40 different waves)

> Where can I get (slightly readable) info about the distributions of sine
> frequencies and directions?

As I previously mentioned,  there is an implementation of this technique
in the latest issue of 'PC Magazin', together with some explanations.  

> I downloaded 'wt_water.pov' from your website but it doesn't seem to work in
> PoV3.5 (release 7).
> The parses stops here: #declare fnRMF=function{"ridgedMF",<0.07, 2.2,  7,
> 0.6, 0.9>}
> because of this error: "Parse Error: Expected 'valid function expression', <
> found instead"
> Maybe I should download megapov for this to work?

The function syntax has changed so you have to convert it, just check the
3.5 docs for the details.  Reflection parameters will need to be adapted
too.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Christoph Hormann
Subject: Re: water waves simulation (349k)
Date: 23 Nov 2001 04:46:34
Message: <3BFE1AF9.CE76FE91@gmx.de>
ingo wrote:
> 
> Failed to understand the math, so my question may be complete nonsense.
> Is it possible to turn all this into a pattern for POV-Ray?
> 

Surely it is, i'm not sure how much gain in speed this would mean in
relation to the user defined function version, but it would be possible.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Christoph Hormann
Subject: Re: water waves simulation (349k)
Date: 23 Nov 2001 13:03:29
Message: <3BFE8F6E.2C703413@gmx.de>
Code for an isosurface version is now in p.b.s-f.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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