POV-Ray : Newsgroups : povray.newusers : Seed Noise Generators? : Re: Seed Noise Generators? Server Time
2 Jul 2024 22:16:06 EDT (-0400)
  Re: Seed Noise Generators?  
From: JSmith
Date: 19 Dec 2010 12:30:00
Message: <web.4d0e401f92aaaec6f14d496f0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 19.12.2010 17:09, schrieb JSmith:
> > Hi Users,
> >
> > I was wondering if it's possible to seed the noise generators such as f_noise?
>
> No, not without changing the POV-Ray source code.
>
> You can add a random offset to the function though, i.e.
>
> #declare R = seed(4711);
> #declare Rx = rand(R);
> #declare Ry = rand(R);
> #declare Rz = rand(R);
> #declare my_f_noise3d = function( f_noise3d(x-Rx,y-Ry,z-Rz) }

Thanks for the reply!

Will seeding for f_noise be implemented in source in future releases?


Post a reply to this message

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