|
![](/i/fill.gif) |
"jr" <cre### [at] gmail com> wrote:
> in Lvertices(), the for loop needs to read '#for (i,1,strlen(Lstr))'. then the
> problem becomes that you have no 'BuildRules' key for 'X', yet. hth.
So, I added:
#declare BuildRules["X"] = asc("X");
and
#declare Axiom = "FFFFX";
#declare Rules = dictionary {
["X"] : "F[-F|][+F|]",
// ["Y"] : "FX-Y"
}
I have NO idea what I'm doing, but that gets me a completed render and no
crashing.
I'm wondering if the X's in the Rules create an infinite recursion of some sort,
and that causes the crash?
--- I'm interested in how the branching works, since I was toying with a scene
to make "roots" or "vines" randomly grow and branch out around the outside of a
cylinder....
- BW
Post a reply to this message
|
![](/i/fill.gif) |