|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> D103 <nomail@nomail> wrote:
> > The disc had a pigment map, which started of as white, changed to yellow about
> > half way, and then faded to transparency. It also had an ambient of 1, and was
> > at the same position as the light source. When rendered the disc showed up as
> > pure white, even when I reversed the pigment map.
>
> What pigment map, exactly? (Better yet: Show us the entire object
> definition.)
>
> --
> - Warp
Here are the relevant objects :
#declare LiPo = <-2000, 250, 0>;
light_source { LiPo White }
disc { 0, y, 100 pigment { cylindrical pigment_map { [ 0 rgb 1 ] [ 0.5 rgb <1,
1, 0.5> ] [ 1 rgbt 1 ] }
} finish { ambient 1 } rotate z*90 translate LiPo }
sphere { LiPo, 100 hollow pigment { Clear } interior { media { scattering { 1, 1
} density { spherical density_map { [ 0 rgb 1 ] [ 0.25 rgbt <1, 1, 0.5, 0.5> ] [
1 rgbt 1 ] } } } } }
camera { location <2, 0.05, 0> right x*16/9 look_at <0, 0.2, 0> }
I have enabled radiosity with media on for this scene.
D103
Post a reply to this message
|
![](/i/fill.gif) |