POV-Ray : Newsgroups : povray.binaries.images : Pov Now! : Re: Pov Now! Server Time
4 Oct 2024 09:15:03 EDT (-0400)
  Re: Pov Now!  
From: Margus Ramst
Date: 23 Apr 1999 20:03:57
Message: <3720fc5d.0@news.povray.org>
Ken wrote in message <3720DB1C.EFDB4B4F@pacbell.net>...
>Fabien Mosen wrote:
>
>> #declare Stuff=union {sphere ... cylinder difference ... torus
>> {intersection sphere ...{ difference  ...union {...}}}...}}}} texture
>> {pigment finish normal}}
>>
>
>  #declare Scrw_1=union{#declare aa=0; #while(aa<2000)union{
>  cylinder{y*-1.4,y*1.4,.22}cone{x*.2,.35,x*.5,0 scale<1,.45,.51>
>  translate<0,-1.2,0>rotate<0,-1.125*aa,0>translate<0,.00125*aa,0>}}
>  #declare aa=aa+10; #end}
>

OK, have it your way. But tell me, what method do you use to keep track of
the matching braces, unions within unions etc - all in one line? I must
admit I simply couldn't do it.

Margus


Post a reply to this message

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