|
|
123456789012345678901234567890123456789012345678901234567890123456789012
>
> On 28 Dec 2001 11:19:45 -0500, Warp <war### [at] tagpovrayorg> wrote:
> > light_source{0 1}#macro c(J,a)sphere{0,1scale a translate J+O}#end#macro B(R,
> > V,O)union{c(0,4)intersection{c(V,R)difference{c(-z*4<11,10,10>)c(-z*4.1<11,10
> > ,10>)c(0<7.5,45,5>)}}#end union{B(12,0z*25)}B(8y*4<0,12,50>)scale.5}pigment{
> > rgb z}}
>
> light_source{0 1}#macro c(J,a)sphere{0,1scale a translate J+O}#end#macro B(R,
> V,O)union{c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+10)c(0<7.5
> ,45,5>)}}#end union{B(12,0z*25)}B(8y*4y*12+50*z)scale.5}pigment{rgb z}}
But why all those unions ?
This is 8 characters less:
> light_source{0,1}#macro c(J,a)sphere{0,1scale a translate J+O}#end#macro B(R,
> V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+10)c(0<7.5,45,5>
> )}}#end union{B(12,0z*25)B(8y*4<0,12,50>)pigment{rgb z}scale.5}
(I quoted it to prevent Netscape from messing it up.)
Tor Olav
Post a reply to this message
|
|