|
 |
In article <39A0E4EC.EA4F8595@schunter.etc.tu-bs.de>,
chr### [at] gmx de wrote:
> BTW, you probably can do the same with HF-Lab, just generate a random
> matrix and apply a smooth filter... wait a moment, since Chris Huff
> developed a noise pigment you can even do this in good old POV.
You could probably do it by alternating the add and divide post_process
filters using the noise pigment(to do an average of the image with a
random noise) and the blur filter(the convolution matrix). The resulting
image could be used in a height field. Something like this:
#declare Iterations = 2;
// make the only thing in the scene a white background
#background {color rgb 1}
global_settings {
post_process {
#declare K=0;
#while(K < Iterations)
add {noise_pigment {1, rgb 0, rgb 1}}
divide {rgb 2}
convolution {3, 3, 8, 0
< 1, 1, 1,
1, 0, 1,
1, 1, 1 >
}
#declare K=K+1;
#end
}
}
A large number of iterations might take a while to compute, though. It
might be better to make a post_process filter which does the whole thing.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |