l-system context problem

   10153   5   1
User Avatar
Member
12 posts
Joined: Feb. 2008
Offline
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.)
User Avatar
Member
696 posts
Joined: March 2006
Offline
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?
Stephen Tucker
VFXTD
User Avatar
Member
12 posts
Joined: Feb. 2008
Offline
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.
User Avatar
Member
696 posts
Joined: March 2006
Offline
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.
Stephen Tucker
VFXTD
User Avatar
Member
12 posts
Joined: Feb. 2008
Offline
In fact all symbols (+,/, etc.) except can be ignored with help of Context Ignore field in the Rules tab.
User Avatar
Member
696 posts
Joined: March 2006
Offline
Yup, you're right, [ doesn't work, but { and everything else I've tested does work.

I filed a bug
Stephen Tucker
VFXTD
  • Quick Links