|
|
> kurtz le pirate <kur### [at] gmailcom> wrote:
>
> I'm not sure where the media and camera is in the scene, nor the scale. I'd
> either do a small separate test scene with your spherical pattern and color map,
> or make a few temporary drastic changes to your scene to see "what gives"
the complete scene :
// --- start ----------------------------------------------------------
#include "colors.inc"
global_settings {
assumed_gamma 1.80
max_trace_level 10
}
camera {
location <10,0,0>
up y
right x*image_width/image_height
look_at <0, 0, 0>
angle 36
}
light_source {
<1000,0,0>
color White
}
background {
color White*0
}
// ---------------------------------------------------------------------
#declare radiusObject = 2.0;
#declare useSphere = true;
#declare displayEdge = false;
#if (useSphere)
sphere {
0, radiusObject
#else
cylinder {
<0,0,0>, <2,0,0>, radiusObject
#end
hollow
pigment { rgbt 1 }
interior {
media {
emission 1.0
density {
spherical
density_map {
[ 0.00 rgb <0.39607808, 0.45490193, 0.97254896> ] // exterior
[ 0.25 rgb <0.54705858, 0.59117645, 0.97941172> ]
[ 0.50 rgb <0.69803905, 0.72745097, 0.98627448> ]
[ 0.75 rgb <0.84901953, 0.86372548, 0.99313724> ]
[ 1.00 rgb <1.00000000, 1.00000000, 1.00000000> ]
}
}
}
}
}
#if (displayEdge)
torus {
radiusObject, 0.01
pigment { color Red }
finish { ambient 0 emission 0.40 diffuse 0.60 }
rotate 90*z
}
#end
// --- end-------------------------------------------------------------
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|