POV-Ray : Newsgroups : povray.general : Macro tutorial : Re: Macro tutorial Server Time
14 Nov 2024 21:12:39 EST (-0500)
  Re: Macro tutorial  
From: Gilles Tran
Date: 1 May 1999 08:28:31
Message: <372AE5ED.E6F20A38@inapg.inra.fr>
Recursive macros were a cypher too until I found the pyramid.pov & pyramid2.pov macros
in the
povray directory. There was (is ?) also an example of a simple fractal tree made with
a
recursive macro in the isosurface patch which was the grand daddy of the MakeTree
family. I
didn't check with the latest version of this patch but it should be still there. Most
of what
I learnt on macros was obtained by reverse-engineering the clean, well-designed ones
by Chris
Colefax, John VanSickle, Margus Ramst, Steve Pigeon and many other contributors in the
povray
newsgroups.
Gilles

Andrew Cocker wrote:

> Hi all,
>     I really want to be able to write my own macros similar to Maketree and Madpipe
by
> Gilles Tran, but I just don't understand what's going on. I can *just about* get my
head
> round a very simple macro, but when loops get involved, I'm totally lost. Maybe I'm
just
> stoopid. Would it be possible for someone to put together a tutorial for me that
explains
> what's going on in this kind of recursive macro, or point me in the direction of an
> existing tutorial? I would be most grateful.
>     Oh..and yes, I have RTFM ;-)
>
> all the best,
>
> --
> ----------------------
> Andy
>
------------------------------------------------------------------------------------------
> -
> --The Home Of Lunaland--
> --visit my POV-Ray gallery--
> --listen to my music--
> www.acocker.freeserve.co.uk


Post a reply to this message

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