POV-Ray : Newsgroups : povray.unofficial.patches : number_of_waves : Re: number_of_waves Server Time
1 Sep 2024 16:18:32 EDT (-0400)
  Re: number_of_waves  
From: Thorsten Froehlich
Date: 3 Mar 2001 16:49:41
Message: <3aa166f5$1@news.povray.org>
In article <3AA16264.309C6534@skynet.be> , Fabien Mosen 
<fab### [at] skynetbe>  wrote:

> In an attempt to write something about that feature, I noticed strange
> behaviour of the global_settings number_of_waves parameter.
>
> #include "colors.inc"
> camera {location <3,4,3>*4 direction z*2 look_at <0,0,0>}
> plane {y,0 pigment {waves color_map {[0 YellowGreen][1 OrangeRed]}}}
> global_settings {number_of_waves 12} //default is 10
> light_source {<400,500,300> White*1.5 rotate y*50}
>
> This simple scene shows very different results from one compile
> to another.  Official POV-Ray works as expected, but any MegaPOV
> I tried acts differently (MP7, POVMan, and MLPov), giving different
> result from one render to another, sometimes plain color, often
> with noticeable plateaus in the waves.

I remember I found a problem with number_of_waves a long time ago.  I am
not sure if the change got into 3.1g or if it is in the current 3.5.  I
can't tell you what MegaPOV does, but I can confirm that there used to
be something wrong with it in the official version.

I think the only workaround is to have the "global_settings" as the very
first thing in a scene.   Alternatively, don't change number_of_waves at
all.


      Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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