|
|
On 11/30/24 06:20, William F Pokorny wrote:
> Still refining it, but an updated version of the ip_noise_generator
> documentation is attached.
I read it again after posting. One of the points I'm still not making
well in the "background noise" section is that with f_hash() you can
roll your own uniform random noise code in SDL.
The following code was used to generate the attached image
(file_gamma=1.0). No AA used on the left image. Heavy method 3 AA used
in the middle. No AA, but changing the Step value from 0.0 to 0.02 on
the right.
#include "functions.inc"
#declare Seed00 = 7834.5540283051168443;
#declare Step = 0.00; // 0.02 for right image
#declare Fn00 = function {
f_hash(
(
f_hash(x+pi, Seed00 ,Step,0)+
f_hash(y+tau,Seed00*2,Step,0)+
f_hash(z+e, Seed00*4,Step,0)
),
Seed00,Step,0)
}
#declare Pigm00 = pigment {
function { Fn00(x,y,z) }
}
Bill P.
Post a reply to this message
Attachments:
Download 'f_hashuniformrndnoise.jpg' (253 KB)
Preview of image 'f_hashuniformrndnoise.jpg'
|
|