The following is a very brief tutorial on the use of my Rule Wizard, hopefully I will improve this with time!
Rule Wizard for CityEngine Date: 06/02/2012
- Load the Rule Wizard
- Click Browse and select an appropriate location for your rules to be created in, I suggest within the existing project structure of CityEngine (e.g. “rules”)
- Type in a name for your new rule file (e.g. demo_rev1)
- Click on the Parent / Sub Models tab
- Click ‘Add Model’ 3 times so you get Model0 Model1 and Model2
- Change these names by clicking on each in the Models window and edit the Model Name(s) in under the heading Basic Details modify them to Residential, Commercial, and Industrial
- Click back on each name and change the model height (it will do a random allocation between a lower and upper number).
- Click on each model name again and then choose a model colour by clicking on the colour button.
- Now Give each model ratio a figure of 33%
- Click on the Finish and View tab and then click on the button ‘Create Rule File’
- Don’t close the Rule Wizard and open CItyEngine and if you haven’t done so create a new scene in your project location and grow some streets
- Double click on your new rule file to open it. Now Drag and drop (or assign) your newly created rule file on to the selected streets and lots, then click on generate to create your 3D city model.
- Go back to the Rule Wizard and change one of the colours of your models and click update/create rule file (I will change green residential to blue).
- Switch back to CityEngine and where the rule file is open click on it. CityEngine will detect the changes and give you this dialog box, click Yes.
- Now click generate and your model should update with the new rule colours.
- The Rule Wizard is designed to work in this way so changes can be made and the model updated quickly by clicking generate.
- Explore the advanced and default tab for more features these are not all working properly (for instance the defaults and streets) aren’t saved for use later.