|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Users,
I was wondering if it's possible to seed the noise generators such as f_noise?
Thanks for your help
J
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 19.12.10 18:25, JSmith wrote:
> 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?
Well, note that noise isn't a simple random function you can "seed". Perlin
noise is a bit more complicated than that. A random offset position will
pretty much give you a good "random" seed.
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 19.12.2010 18:25, schrieb JSmith:
> Will seeding for f_noise be implemented in source in future releases?
Not in 3.7.0, that's for sure (the version having essentially reached
"feature freeze" at last). Nor do I see such a feature on the current
roadmap - which doesn't say much though, as frequently individual team
members will add a feature rather spontaneously.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |