POV-Ray : Newsgroups : povray.advanced-users : An idea about plant growth with a L-System and the mesh-camera : Re: An idea about plant growth with a L-System and the mesh-camera Server Time
28 Sep 2024 12:57:54 EDT (-0400)
  Re: An idea about plant growth with a L-System and the mesh-camera  
From: MichaelJF
Date: 14 Jan 2013 14:40:01
Message: <web.50f45de179737bf530fe50f30@news.povray.org>
Paolo Gibellini <p.g### [at] gmailcom> wrote:
> > Thanks a lot,
> > now I have it, I will investigate it tomorrow. I'm a little bit tired at the
> > moment and will give you response ASAP.
> >
> > Best regards,
> > Michael
> >
> >
> You're welcome,
> If you plan to use the code I can clean it a bit...
> ;-)
> Paolo

Hi Paolo,

tonight I found the time to look at your code finally. I think it is a good
starting point for my purposes. I never would have came up with the simple idea
to store the left and the right hand side of the productions into corresponding
arrays. This gives room for improvement. I think it is possible to extend your
str_pos and str_replace macros to accept strings for the parameter "caraterre"
which would make simple context-sensitive grammars possible. Since I need an
extension into the third dimension and a so called "open parameter" (to
determine the next direction with the mesh cam), which is handled between every
iteration of your parse_string macro with additional code, I propose to leave
the changes to me (since I'm not very good in explaining my ideas to others).
But I thank you very much for the code and your kind offer.


Best regards,
Michael


Post a reply to this message

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