POV-Ray : Newsgroups : povray.general : How to create a water scene with ripples or waves? Server Time
5 Nov 2024 18:23:01 EST (-0500)
  How to create a water scene with ripples or waves? (Message 1 to 3 of 3)  
From: Daniel Sullivan
Subject: How to create a water scene with ripples or waves?
Date: 18 Aug 1998 16:50:53
Message: <35D9DABE.167CEF8A@home.com>
Hi there-

I'm looking for some sample code for creating a water scene with
ripples.
The thing I do'nt understand is  how to use waves or ripples inside the
pigment or texture statement as no examples are given in the pov 3.1
docs.
Thanks in advance.

Best regards,

Ron Hicks
http://www.geocities.com/SoHo/1006
sig### [at] hotmailcom


Post a reply to this message

From: K  Tyler
Subject: Re: How to create a water scene with ripples or waves?
Date: 18 Aug 1998 16:56:58
Message: <35D9CE29.6E095B68@pacbell.net>
Daniel Sullivan wrote:

> Hi there-
>
> I'm looking for some sample code for creating a water scene with
> ripples.
> The thing I do'nt understand is  how to use waves or ripples inside the
> pigment or texture statement as no examples are given in the pov 3.1
> docs.
> Thanks in advance.
>
> Best regards,
>
> Ron Hicks
> http://www.geocities.com/SoHo/1006
> sig### [at] hotmailcom


    Waves and ripples are generaly used inside a normal statement.

example:

plane{y,0
  texture{
    pigment{rgbf<.8,.85,1,.3>}
      normal{ripples .4 scale 1}
        finish{ambient .3 diffuse .1 reflection .3}}}

I just did this off the top of my head so if it's not exacly right excuse me.
The priciple is correct though.

K.Tyler


Post a reply to this message

From: JK
Subject: Re: How to create a water scene with ripples or waves?
Date: 22 Aug 1998 18:30:50
Message: <35DF3781.A28674BC@hotmail.com>
K. Tyler wrote:

> Daniel Sullivan wrote:
>
> > Hi there-
> >
> > I'm looking for some sample code for creating a water scene with
> > ripples.
> > The thing I do'nt understand is  how to use waves or ripples inside the
> > pigment or texture statement as no examples are given in the pov 3.1
> > docs.
> > Thanks in advance.
> >
> > Best regards,
> >
> > Ron Hicks
> > http://www.geocities.com/SoHo/1006
> > sig### [at] hotmailcom
>
>     Waves and ripples are generaly used inside a normal statement.
>
> example:
>
> plane{y,0
>   texture{
>     pigment{rgbf<.8,.85,1,.3>}
>       normal{ripples .4 scale 1}
>         finish{ambient .3 diffuse .1 reflection .3}}}
>
> I just did this off the top of my head so if it's not exacly right excuse me.
> The priciple is correct though.
>
> K.Tyler

Ok, that's easy enough, but...
If you just use a rippled normal, you get to see an annoying repetitive pattern
in the surface. Try blending the ripples with some bumps or something. That looks
much better and 'more randomly'.

JK


Post a reply to this message

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