|
![](/i/fill.gif) |
Inspired by
Subject: Image Creation Challange
From: "James Taylor" <jim### [at] blueyonder co uk>
Rules:
5:00 time (I've made myself a mini C++ program as a stopper for this ;)
camera{} and global_settings{} time NOT included in 5 min (free time)
final-render time NOT included
test-renders time IS included
And code :
global_settings { max_trace_level 100 adc_bailout 1/256 }
camera {
translate -z*5 rotate <0,30,-5>
aperture 0.07
blur_samples 250
focal_point <0,1,2>
confidence 0.99
variance 1/250
}
#local RND=seed(31414);
#macro FBox(W)
box {-1,+1
finish { ambient .7 + .3*rand(RND) }
pigment {
bozo scale .2
#local C=<rand(RND),rand(RND),rand(RND)>;
#if (rand(RND)<.5) #local C=.7; #end
color_map{[0 rgb .8*C][1 rgb 1*C]}
}
normal { bozo .6 }
finish { reflection .3 }
translate W
}
#end
#local Rnd=seed(214);
#local I=0; #while (I<5000)
FBox(<rand(Rnd),rand(Rnd),rand(Rnd)>*100-50)
#local I=I+1; #end
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
![](/i/fill.gif) |