|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Inspired by
Subject: Image Creation Challange
From: "James Taylor" <jim### [at] blueyondercouk>
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in
news:Xns### [at] 204213191226
uuuups - the image
--
#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
Attachments:
Download 'cubes_in_void.jpg' (15 KB)
Preview of image 'cubes_in_void.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Another 5 minute attempt. I think that with the 5 minute version you can
actually get half a chance to make something identifiable (compared to the
2 minute challenge where I could hardly manage to get my global_settings
done in the time limit).
Here's the source:
global_settings{radiosity{count 120 error_bound 0.5 pretrace_start 0.08
pretrace_end 0.02}photons{spacing 0.005}}
box{3*y-3,3*y+3 clipped_by{plane{y,5}}hollow on pigment{rgb
1}finish{ambient 0}}
camera{location <2, 2, -2>look_at z-x+y}
light_source{<60, 300, -120>, rgb <1,.9,.7> fade_distance 350 fade_power 2}
sphere {0, 1000 pigment{rgb <0.3, 0.6, 1>}finish{ambient 1 diffuse 0}}
sphere{y, 1
pigment{rgb 1}finish{ambient 0 diffuse 0 reflection .99 specular 1
roughness 0.001}
translate z-x photons{reflection on target}}
box{-1,1 pigment{rgb 1}finish{ambient 0} translate z-x}
--
light_source#macro G(E)sphere{z+E*y*5e-3.04rotate-z*E*6pigment{rgbt#end{
20*y-10#local n=162;1}#while(n)#local n=n-.3;G(n)x}}G(-n).7}}#end//GregE
Post a reply to this message
Attachments:
Download '5minutes.png' (39 KB)
Preview of image '5minutes.png'
|
|
| |
| |
|
|
|
|
| |
|
|