POV-Ray : Newsgroups : povray.newusers : Seed Noise Generators? : Re: Seed Noise Generators? Server Time
2 Jul 2024 21:50:30 EDT (-0400)
  Re: Seed Noise Generators?  
From: clipka
Date: 19 Dec 2010 11:59:49
Message: <4d0e3a05@news.povray.org>
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) }


Post a reply to this message

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