I was wondering if there was a database of rule files that I could download and import into the scene that I am creating.
I am very new to CityEngine and have not created my own rules, but rather used the elements from the International City.cga file.
I wanted to add other elements such as a metro/train station, parks, sports fields etc. but have not been able to find any.
Any help/direction would be appreciated.
The first step is to examine the rules in the ESRI.lib project, and take a look at the rules used there. You seem to already have taken the first step in doing that by looking at International City.
For more rule/examples though:
The 3D GIS resource center has a number of projects which includes rule files, assets, and other procedural examples. The most common set of rules that we like to share with people include the Redland's Example and others found on the website.
I hope this is helpful.
Pointing us to the standard resources is not the same as providing a warehouse or forum where users can share our own resources, in one convenient easy to find spot, without having to plow through tons of pages to look for one little thing.
We need this. Seems like a good time and place to start brainstorming what rules we need. Don has these rules on his list above:
So... Anyone who is interested, please reply with any rules that you want, and we'll just start fleshing out what should go in a rule repository. As to where and how such a thing should reside, we can figure that out later.
Many times it is good to start with Standard Resources on forums like this to help people get started. I agree with Chris Wilkins there should be a larger discussion about making a formal or informal repository. One issue is that many of the rules created by CityEngine users end up becoming proprietary, and also unlike other code bases good rules tend to have an assortment of assets that they also have to deal with rights issues with.
I think there are plans to put rules on the ArcGIS marketplace at some point? I am not sure on this, but I saw it on a presentation in the past.
I will investigate to see if I can find more rules to connect to here. I think parks can be made with elements of the building construction rule...should check.