POV-Ray : Newsgroups : povray.general : ripple/wave centers : Re: ripple/wave centers Server Time
29 Jul 2024 10:30:58 EDT (-0400)
  Re: ripple/wave centers  
From: Thomas de Groot
Date: 12 Jan 2012 02:53:40
Message: <4f0e9184$1@news.povray.org>
On 12-1-2012 3:22, Alain wrote:
> In fact, the centers are within a 1 unit box.
>
> You can move them apart by scaling. In this case, you should also use
> frequency of the same value as the scaling if you want to keep the
> ridges separation unchanged.
> There is nothing preventing you from applying some un-even scaling.
> You can rotate the pattern any way you want.
>
> You can try changing the noise generator to see if it have an impact.
>
> The option of using some random stream could be interesting, but will
> probably need a more or less complete rewrite of the code for that pattern.
>

Hmmm... ok. So a random placement of centers (within the unit box) is 
not possible; think for instance of rain drops on water. For the time 
being I probably can get away with un-even scaling for my project, 
although that shall deform the pattern I guess. Maybe an average of 
different randomly translated patterns would do the trick? I shall try.

Thomas


Post a reply to this message

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