POV-Ray : Newsgroups : povray.general : L-Systems in Povray Server Time
27 Jul 2024 20:24:58 EDT (-0400)
  L-Systems in Povray (Message 51 to 60 of 64)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>
From: jr
Subject: Re: L-Systems in Povray
Date: 16 Jul 2023 16:45:00
Message: <web.64b455ce453cebfc80c03e9d6cde94f1@news.povray.org>
hi,

"ingo" <nomail@nomail> wrote:
> ...
> Next thing to do is to debug the stack content and the vertices content.

see attached for 'Vertices' content.  something's amiss :-)


regards, jr.


Post a reply to this message


Attachments:
Download 'droj_ingo.png' (13 KB)

Preview of image 'droj_ingo.png'
droj_ingo.png


 

From: jr
Subject: Re: L-Systems in Povray
Date: 16 Jul 2023 16:45:00
Message: <web.64b4563c453cebfc80c03e9d6cde94f1@news.povray.org>
hi,

"Droj" <803### [at] drojde> wrote:
> ...
> See how this thing we are talking about should look like.

fwiw, I really like(d) 'lsys3'.  made me think that it is v close to a Hilbert
Curve, and it'd be interesting to find the right "production rules" for that.


regards, jr.


Post a reply to this message

From: Droj
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 12:15:00
Message: <web.64b566de453cebfcdec7f1e73b2af915@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "Droj" <803### [at] drojde> wrote:
> > ...
> > See how this thing we are talking about should look like.
>
> fwiw, I really like(d) 'lsys3'.  made me think that it is v close to a Hilbert
> Curve, and it'd be interesting to find the right "production rules" for that.
>
>
> regards, jr.

Hi,

yes indeed looks similar to Hilbert curve. If I remember correctly it's called
Peano curve and here is Hilbert curve.

I saw your screenshot of debugging the stack/vertices content and it looks like
the whole thing loops in itself.

Axiom and production rule(s) look okay but the 'turtle' seems to be stuck in a
tar pit.

At the moment I have no idea how to get rid of the glitch. I tried using a
vector expression for the angles but Povray simply shut down.

regards, Droj

PS: Could you let me know how you debugged the stack getting a list of contents?


Post a reply to this message


Attachments:
Download 'lsys9.pov.txt' (3 KB)

From: jr
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 12:50:00
Message: <web.64b5711c453cebfc80c03e9d6cde94f1@news.povray.org>
hi,

"Droj" <803### [at] drojde> wrote:
> ...
> yes indeed looks similar to Hilbert curve. If I remember correctly it's called
> Peano curve and here is Hilbert curve.

thank you, very much.  (for later tonight :-))


> ...
> PS: Could you let me know how you debugged the stack getting a list of contents?

attached the "playing around" copy.  :-)  hth.


regards, jr.


Post a reply to this message


Attachments:
Download 'droj_dbg.pov.txt' (5 KB)

From: Droj
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 13:40:00
Message: <web.64b57bd8453cebfcdec7f1e73b2af915@news.povray.org>
Hi,

"jr" <cre### [at] gmailcom> wrote:
>
> thank you, very much.  (for later tonight :-))
>

you are more than welcome (hope you don't do overtime <grin>)

>
> attached the "playing around" copy.  :-)  hth.
>

thank you so much for the copy - I will put it in my treasure box.

The "foreach.inc" is not a standard inc-file, I guess.
Can I find it somewhere in the forum or is it something out of your treasure
box?

Cheers, Droj

PS: I have to check what TOK posted (L-system of course). Seems like I caused a
palace revolution :-))


Post a reply to this message

From: Droj
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 16:20:00
Message: <web.64b5a1f1453cebfcdec7f1e73b2af915@news.povray.org>
"Droj" <803### [at] drojde> wrote:
> Hi,
>
> "jr" <cre### [at] gmailcom> wrote:
> >
> > thank you, very much.  (for later tonight :-))
> >
>
> you are more than welcome (hope you don't do overtime <grin>)
>
> >
> > attached the "playing around" copy.  :-)  hth.
> >
>
> thank you so much for the copy - I will put it in my treasure box.
>
> The "foreach.inc" is not a standard inc-file, I guess.
> Can I find it somewhere in the forum or is it something out of your treasure
> box?
>
> Cheers, Droj
>
> PS: I have to check what TOK posted (L-system of course). Seems like I caused a
> palace revolution :-))

Hi jr,

got the foreach4.zip. I suppose it's the final version.

Have a look what TOK posted - it's mind-boggling!

Cheers, Droj


Post a reply to this message

From: jr
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 17:10:00
Message: <web.64b5ad68453cebfc80c03e9d6cde94f1@news.povray.org>
hi,

"Droj" <803### [at] drojde> wrote:
> ...
> > > thank you, very much.  (for later tonight :-))
> > you are more than welcome (hope you don't do overtime <grin>)

no :-)  that's filed under "rest + recreation".


> > The "foreach.inc" is not a standard inc-file, I guess.
> got the foreach4.zip. I suppose it's the final version.

direct link to latest, this one is (I think) "compliant" wrt Object Collection
conventions, and thus safer; the wiki page has the most recent versions.
<https://drive.google.com/file/d/1-uadHHQ3K0sgdxyHmBCTznlPYNrnBgM9/view?usp=sharing>

> Have a look what TOK posted - it's mind-boggling!

I did, and got as far as line 49 in 'L-system.inc', then .. I had to look away
:-).  much (most?) of his stuff goes over my head.  (aside, without TOK's
insight(s), 'Foreach()' wouldn't have happened)

(liking the "level 9" tree, might make a fine brooch)


regards, jr.


Post a reply to this message

From: Droj
Subject: Re: L-Systems in Povray
Date: 17 Jul 2023 18:30:00
Message: <web.64b5c006453cebfcdec7f1e73b2af915@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

>
> no :-)  that's filed under "rest + recreation".
>
Good to know that R&R is still a part of life style

>
> direct link to latest, this one is (I think) "compliant" wrt Object Collection
> conventions, and thus safer; the wiki page has the most recent versions.
> <https://drive.google.com/file/d/1-uadHHQ3K0sgdxyHmBCTznlPYNrnBgM9/view?usp=sharing>
>
Found and d/loaded it. Thanks
>
> I did, and got as far as line 49 in 'L-system.inc', then .. I had to look away
> :-).  much (most?) of his stuff goes over my head.  (aside, without TOK's
> insight(s), 'Foreach()' wouldn't have happened)
>
To be honest I looked through his 'L-system.inc' from top to bottom and yes, I
am with you - it made my brain 'loop' not in a simple #while loop.

TOK has, beside insight(s) a sort of black humor: 'SIMPLE L-system for...'.
Yeah, simple it is when you know. I just wonder how can TOK shake a thing like
that out of his sleeve.

Now I understand much better what you meant by 'standing on the shoulders of
giants'.

>
> (liking the "level 9" tree, might make a fine brooch)
>
I'll post the POV-file in a couple of minutes in TOK's 'language' as attachment
to his post. Yeah, it's a little challenge for a goldsmith.

Cheers, Droj


Post a reply to this message

From: Droj
Subject: Re: L-Systems in Povray
Date: 26 Jul 2023 09:10:00
Message: <web.64c11a2d453cebfca0768d5a3b2af915@news.povray.org>
"Droj" <803### [at] drojde> wrote:
> Hi folks,
>
> I still wonder why L-Systems or turtle graphics never really made it to be
> intergrated in Povray.
>

Hi folks,

due to the recent development (see TOK's post
<web.64b55265a6c2a55967f8fe5789db30a9@news.povray.org>) I think we can close the
subject here.

Thanks to all of you for your engagement especially

- to Bald Eagle for his enlightening and excessive (NO offense meant) comments

- to jr who always found the right words to cheer me up

and last not least

- to Ingo who came up lightning-fast with brilliant code and who showed me how
Povray Giants work.

Cheers, Droj


Post a reply to this message

From: jr
Subject: Re: L-Systems in Povray
Date: 27 Jul 2023 09:00:00
Message: <web.64c269bf453cebfc80c03e9d6cde94f1@news.povray.org>
hi,

"Droj" <803### [at] drojde> wrote:
> ...
> due to the recent development ... I think we can close the subject here.

or perhaps not :-).  the C source code mentioned by ingo comes with a nice
little PDF summarising the alphabet + actions available.  been thinking that if
we could agree (here) on a similar (or same) "standard", then all our "stuff" on
the subject would become interoperable.


> ...
> - to jr who always found the right words to cheer me up

good, good, invoice is on its way.. ;-)


regards, jr.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>

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