|
|
Sigmund Kyrre Aas wrote:
> I like these! How did you make them?
Thankies!
360 fisheye camera
randomly generated, randomly positioned objects
coloration done via HLS distribution functions
For example
box {
<rand(Rnd),rand(Rnd),rand(Rnd)>,
<rand(Rnd),rand(Rnd),rand(Rnd)>
translate rand(Rnd)*z
rotate <rand(Rnd),rand(Rnd),rand(Rnd)>*360
pigment {
color HLStoRGB(
<rand(Rnd)*70+260,
rand(Rnd)*.5+.25,
1-pow(rand(Rnd),2)>
)
transmit rand(Rnd)
}
#declare Amb = rand(Rnd);
finish {
diffuse 1-Amb
ambient Amb
reflection rand(Rnd)*.8
conserve_energy
}
interior { ior 1.25 }
}
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://davidf.faricy.net/
Post a reply to this message
|
|