• Advertisement
Sign in to follow this  

how to implement a rule-based modeling system

This topic is 3193 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I am lerning to write an L-system like program that can load user-provided "rules", and generate street networks from these rules. I have read some academic papers on it, and have had a look at Procedural's CityEngine. In cityEngine the rules loook like this: Lot--> extrude(height) Envelope Envelope--> case geometry.isRectangular(10); 50% : Tower 25% : UShape else: LShape else 50% : LShape else: Tower LShape -->...... The questions are 1) how to parse rules like above provided in a txt file. 2) and what's the general pattern to apply "rules".. . could you give me some advices on it. or tell me what books, or open-source implementation I can refer to ? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement