POV-Ray : Newsgroups : povray.general : recursive objects. : Re: recursive objects. Server Time
12 Aug 2024 03:20:57 EDT (-0400)
  Re: recursive objects.  
From: Gilles Tran
Date: 31 Mar 1999 03:08:04
Message: <3701D861.BD00FECC@inapg.inra.fr>
In case you missed them, there are examples of recursive objects in the
povray directories (look for pyramid.pov and pyramid2.pov). Also, there have
been several examples of complex trees made with recursing algorithms
involving macros:
- Steve Pidgeon's macro posted on 1/1/99 in povray.binaries.images
- my own macro, posted last Friday in povray.binaries.utilities (and look at
the current "tree" threads in povray.binaries.images for examples)

Anyway, this process does use a lot of memory and processing time, but it's
the price to pay for complexity.

I hope this helps
Gilles Tran


abc 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.  Thanks for any attention this gets.


Post a reply to this message

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