|
|
Small Update, Alain:
I copied your code and made small adaptions. But due to the fact, that I
still have no full understanding of what I am doing here ( :-) ), I
produce errors at the location where I use your "257, 33".
------------------------------------
#declare MyLight = union
{
light_source
{
4999.8*(z+0.1)// Location - small difference to walls (0.1)
760.0*x*0.7 // Color?
257, 33 // ? ERROR ---
area_light // Type
< -1000.0, -1300.0, 0.1 > < 1000.0, -1300.0, 4999.9 > 3, 3 // Vectors?
adaptive 0 //
area_illumination on //
}
cylinder
{
0, 5000.0*z, 760.0
pigment
{
radial
color_map
{
[ 0.00 rgb 0.5 ]
[ 0.05 rgbf < 0.8, 0.5, 0.2, 1.0 > ]
[ 0.10 rgbf 1.0 ]
[ 0.40 rgbf 1.0 ]
[ 0.45 rgbf < 1.0, 0.7, 0.5, 1.0 > ]
[ 0.50 rgb 0.5 ]
}
rotate 180*z
}
// interior_texture // not yet in place. But shouldn't that cylinder
be hollow then?
translate < 0.0, -10.0, 0.0 >
}
}
------------------------------------
On 14.02.2016 10:47, Alain did some écrit:
> area_light HabitatLength*z, AxleRadius*x*0.7, 257, 33 adaptive 0
> area_illumination
>
> cylinder{0, HabitatLength*z, AxleRadius
> pigment{radial
> color_map{[0 rgb 0.5][0.05 rgbf<0.8, 0.5, 0.2, 1>][0.1 rgbf 1]
> [0.4 rgbf 1][0.45 rgbf<1, 0.7, 0.5, 1>][0.5 rgb 0.5]}
> rotate 180*z}
> }
Post a reply to this message
|
|