|
![](/i/fill.gif) |
dt7### [at] bellsouth net wrote:
> difference {
> sphere {<0, 0, 0>,
> 1
> pigment {color Green filter .35}
> }
> cylinder {<0, -1, 0>,
> <0, 1, 0>,
> .2
> pigment {color Green}
> no_shadow
> }
> }
One solution which comes to mind is to clip the sphere with the
cylinder (with clipped_by) and then adding an shadowless open cylinder
in the same place. Something like this:
union
{ sphere
{ 0, 1
clipped_by { cylinder { -y, y, .2 inverse } }
pigment { rgb y filter .35 }
}
cylinder
{ -y, y, .2 open no_shadow
pigment { rgb y }
}
}
(The problem is that the borders of the cylinder will not match with
the surface of the sphere so you'll have to shorten the cylinder so that
they match.)
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |