POV-Ray : Newsgroups : povray.general : recursive objects. : Re: recursive objects. Server Time
12 Aug 2024 03:28:00 EDT (-0400)
  Re: recursive objects.  
From: Nieminen Mika
Date: 30 Mar 1999 11:53:08
Message: <37010174.0@news.povray.org>
abc <def### [at] emailucedu> wrote:
: I'm trying to make a few objects for a scene I'm working on and am
: wondering if there is an easy way to do recursion in POVray, e.g.,
: trees.  I can do it using while loops and #declares...(declare an object
: as multiples of itself scaled and translated/rotated) but am wondering
: if there is an easier way as this eats up a lot of memory and processor
: time.

  AFAIK there's no other way.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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