Jump to content
  • Advertisement
Sign in to follow this  
GameGo

how to implement a rule-based modeling system

This topic is 3282 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!