POV-Ray : Newsgroups : povray.general : New Signature : Re: New Signature Server Time
19 Nov 2024 22:25:02 EST (-0500)
  Re: New Signature  
From: Tor Olav Kristensen
Date: 28 Dec 2001 14:11:01
Message: <3C2CC3C5.DF203F5E@hotmail.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.