Search - User list
Full Version: l-system context problem
Root » Houdini Indie and Apprentice » l-system context problem
Buddha
Premise: A
Rule1: A>B=F

and nothing happens (string is not rewritten).

Any ideas?

(In fact I need signal propagation from main branch to children. Rules above are just a trivial example of that.)
Allegro
I don't understand what you're trying to do…
that does not look like a valid lsystem rule to me

You are not defining either A or B… so… the Premise will have no idea what to do.



You need something like

Premise: A
Rule 1: A=FA

to simply draw lines over and over. Does this help?
Buddha
I mean that this is context sensitive l-system.
It works without brackets in the premise and doesn't with brackets.
This is the exact problem.
Note that it isn't an example of really useful l-system. It is for clearing problem only.
The rules should just draw one edge. And final string should be F.
Allegro
Interesting

I have never used context sensitive l-systems before, so sorry that i didn't understand what your rule was doing.



It would appear to be a bug. It seems to only recognize the context sensitivity when there is nothing else separating the two symbols. ie: having a [ disrupts the sensitivity.
Buddha
In fact all symbols (+,/, etc.) except can be ignored with help of Context Ignore field in the Rules tab.
Allegro
Yup, you're right, [ doesn't work, but { and everything else I've tested does work.

I filed a bug
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB