POV-Ray : Newsgroups : povray.binaries.scene-files : How to produce Water or ripples? Server Time
7 May 2024 12:38:30 EDT (-0400)
  How to produce Water or ripples? (Message 1 to 5 of 5)  
From: Dominik Herrmann
Subject: How to produce Water or ripples?
Date: 10 Apr 1998 04:46:01
Message: <6gn6l7$60q$1@oz.aussie.org>
I have a question to all those POV-Ray-Cracks:
I'd like to render a scene which contains a lake. My problem is I have no
idea how to produce natural looking waves. Has anyone ideas how to do? With
heightfields or the ripples pattern?

Dominik Herrmann


Post a reply to this message

From: Charles Krause
Subject: Re: How to produce Water or ripples?
Date: 11 Apr 1998 15:50:56
Message: <6goh6j$7pl$1@oz.aussie.org>
Dominik Herrmann wrote in message <6gn6l7$60q$1@oz.aussie.org>...
>I have a question to all those POV-Ray-Cracks:
>I'd like to render a scene which contains a lake. My problem is I have no
>idea how to produce natural looking waves. Has anyone ideas how to do? With
>heightfields or the ripples pattern?
>
>Dominik Herrmann
>
>


Both work - but in different circumstances. Ripple pattern works and are
easy to do - not so much with the pigment, but you might try rippling the
normals. However this only LOOKS like ripples. If you render close to the
water, it becomes obvious that the water is really flat. Height fields is
something I haven't tried - although I don't see why it wouldn't work - and
it would actually produce 3D ripples.
     All this only makes ripples however. If you want WAVES - that's a whole
new kettle of fish, and one I'm not sure how you'd crack. Waves are pretty
complex shapes really


Post a reply to this message

From: Andrew Hicks
Subject: Re: How to produce Water or ripples?
Date: 17 May 1998 07:36:02
Message: <355eca89.543592@news.povray.org>
"Charles Krause" <osi### [at] cheerfulcom> wrote:

>
>Dominik Herrmann wrote in message <6gn6l7$60q$1@oz.aussie.org>...
>>I have a question to all those POV-Ray-Cracks:
>>I'd like to render a scene which contains a lake. My problem is I have no
>>idea how to produce natural looking waves. Has anyone ideas how to do? With
>>heightfields or the ripples pattern?
>>
>>Dominik Herrmann
>>
>>
>
>
>Both work - but in different circumstances. Ripple pattern works and are
>easy to do - not so much with the pigment, but you might try rippling the
>normals. However this only LOOKS like ripples. If you render close to the
>water, it becomes obvious that the water is really flat. Height fields is
>something I haven't tried - although I don't see why it wouldn't work - and
>it would actually produce 3D ripples.
>     All this only makes ripples however. If you want WAVES - that's a whole
>new kettle of fish, and one I'm not sure how you'd crack. Waves are pretty
>complex shapes really
>
>

I've read somewhere that some of the computer animated oceans in James
Cameron's "Titanic" were based on some pretty complicated algorithms
which the military developed - apparently they made a detailed study
of the physical characteristics of water, and then converted them into
complex mathematical formulae. (sp?). This probably doesn't help your
problem, but it's some interesting trivia...  :)
 /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
|               A Message From Andy  (and### [at] melbpcorgau)            |
|                   No stupid proverbs or sayings inc.                |
 \.................................................................../


Post a reply to this message

From: DreamChaser
Subject: Re: How to produce Water or ripples?
Date: 20 Jun 1998 17:43:10
Message: <6mhabs$2hr$1@oz.aussie.org>
Here's some code that I used that made a nice smooth sea.  It might help.

   #declare SeaHeight = -16.3
   plane
   {
      y, SeaHeight
      texture
      {
         T_Chrome_2D          // This is in one of the standard include
files:
                                            // METALS.inc maybe.
         normal
         {
            waves 0.07
            frequency 50.0
            scale 600.0
         }
      }
   }

Dominik Herrmann wrote in message <6gn6l7$60q$1@oz.aussie.org>...
>I have a question to all those POV-Ray-Cracks:
>I'd like to render a scene which contains a lake. My problem is I have no
>idea how to produce natural looking waves. Has anyone ideas how to do? With
>heightfields or the ripples pattern?
>
>Dominik Herrmann
>
>


Post a reply to this message

From: Matt Giuer
Subject: Re: How to produce Water or ripples?
Date: 25 Apr 1999 21:42:00
Message: <3723B662.34190367@ij.net>
Dominik Herrmann wrote:
> 
> I have a question to all those POV-Ray-Cracks:
> I'd like to render a scene which contains a lake. My problem is I have no
> idea how to produce natural looking waves. Has anyone ideas how to do? With
> heightfields or the ripples pattern?

Both work but what do you mean by realistic? Waves near shore are
different than far out and conform to the shoreline. If that is
the problem, that is almost undoable. 

Undoable is a standard form of challenge so that someone will do
it.


Post a reply to this message

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