|
|
It also seems that you're not specifying a light color in your light_source
block, only a pigment for your looks_like container.
#macro added and tweaked.
Should be (mostly) good.
#version 3.8;
global_settings {assumed_gamma 1.0}
#default {finish {ambient 0.07 emission 0 diffuse 0.85}}
camera {
perspective
location <0, 4, -4>
look_at <0, 0, 0>
right x*image_width/image_height
angle 67
}
#macro msrgb (vec, mult)
srgb <vec.x*mult, vec.y*mult, vec.z*mult>
#end
#declare TEMP_COLOR = srgb <.5,.3,.7>;
light_source {
0*x
msrgb (<0.5, 0.3, 0.7>, 50)
looks_like {
sphere {0, 0.1
texture {
pigment {rgb 1}
finish {ambient 0 emission 1 diffuse 0}
}
}
}
fade_distance 0.1
fade_power 2.0
translate 2*y
}
plane {y, 0 pigment {srgb .5}}
// objects
#declare SC = seed(34);
#for(i,1,15)
cylinder{0, 1*y,.2
pigment{srgb <.3 + .7*rand(SC),.3 + .7*rand(SC),.3 + .7*rand(SC)>}
translate 2*x
rotate i*360/15*y
}
#end
Post a reply to this message
|
|