|
|
/*
================
The Glow
Ok, so it's a dirty trick...
================
*/
#version 3.1;
camera {
location -2*z
look_at 1*z
}
light_source {
<0, -1, -15>, 10
}
plane { z, 1
pigment { rgb 1 }
finish { reflection 1 }
}
plane { y, -0.5
pigment { blue 1 }
normal { bumps 0.4 scale 0.2 }
finish { reflection 0.75 }
}
#declare xmin = -1.0;
#declare xmax = 1.0;
#declare y1 = 0.25;
union {
sphere { xmin*x, 0.05 }
cylinder {
xmin*x, xmax*x, 0.05
}
sphere { xmax*x, 0.05 }
pigment { rgbf <1, 0.2, 0, 0.75> }
finish { ambient 1 }
no_shadow
translate <0, y1, 0.95>
}
#declare xdist = xmax - xmin;
#declare total = 9;
#declare xstep = xdist / (total-1);
#declare i = 0;
#while (i < total)
light_source {
<xmin+i*xstep, y1, 0.95>, red 1
}
#declare i = i + 1;
#end
Post a reply to this message
|
|