|
![](/i/fill.gif) |
POV-Ray includes a sample macro that deals with a similar issue.
Under Scenes\Macros\Pyramid and Pyramid2 are the files you're looking for. Part of the
trick is to include
a direction in the macro, so that it doesn't back track on itself.
Josh
ian wrote:
> Hello,
>
> Here is a little pyramid I've made with the help of a macro from the
> internet. It took about one day to parse and render.
>
> I use an iteration 8 pyramid sponge 25 times to build another pyramid, which
> I use 25 times to make another, and I do this once again resulting in 15,625
> of those iteration 8 pyramids using my 3 loops.
>
> The way I do it creates about 8 superfluous pyramids per loop (which were
> uncounted in the 25 figure), so about 512 useless RAM sucking pyramids for
> the whole thing (8 in loop1 8times in loop2 8times in loop3).
>
> I'd like to get rid of them. Any help is appreciated.
>
> Here is the untersheisse demo image and the source (therefore making this
> inappropriate for P.B.S-F).
>
> ian
>
> Name: RecursivePyramid.pov
> RecursivePyramid.pov Type: POV-Ray scene file
(application/x-unknown-content-type-POV-Ray.Scene)
> Encoding: x-uuencode
>
> Name: RecursivePyramid_it8_3rdloop.png
> RecursivePyramid_it8_3rdloop.png Type: PNG Image (image/x-png)
> Encoding: x-uuencode
--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritone com
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/
Post a reply to this message
|
![](/i/fill.gif) |