POV-Ray : Newsgroups : povray.beta-test.binaries : Too many nested variables : Re: Too many nested variables Server Time
16 May 2024 08:20:51 EDT (-0400)
  Re: Too many nested variables  
From: Warp
Date: 17 May 2002 18:22:40
Message: <3ce582b0@news.povray.org>
Greg M. Johnson <gregj:-)565### [at] aolcom> wrote:
> Can you give me a brief example of

> "iterations" without "nesting", especially where I could control the # of
> levels with a variable?

  Ever heard of #while-loops?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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