|
|
> sphere // transparent sphere containing media
> { <0, 2, 0>,1
> pigment { rgbt 1 }
> hollow
> interior
> { media
> { emission 1
> density
> { spherical density_map
> { [0 rgb 0]
> [0.4 rgb <1,0,0>]
> [0.8 rgb <1,1,0>]
> [1 rgb 1]
> }
> }
> }
> }
> }
Your sphere is centered at <0, 2, 0>, while your spherical density map
is centered at <0, 0, 0>. Thus it's not a surprise that you are not
seeing anything because inside the sphere the density is rgb 0 all over.
Create the sphere centered at <0, 0, 0> and then translate it to
<0, 2, 0> at the end (ie. after the interior definition).
Post a reply to this message
|
|