http://jerome.le.chat.free.fr

Home > Blender > Scripts > City Engine

Open City Engine

Article Index
Open City Engine
Installation
the user interface
Buildings
Building libraries
Ground
Maps
Tips

v0.398 - Blender 2.48a

Goal / Concept
How does it work ?

a new documentation is currently built, please also check the Blended Cities section for updated tutorials and documentation !

Goal / Concept :

new documentation !

How does it work ?

  • to create a city, you need at least 2 sources :

    the first one is a black and white image, the 'popmap' image, that is used for the heights of the buildings and the city main shape. the brighter the pixels, the higher the buildings will be. the darker, the lower. black means no buildings at all :

popmap
image

 

rendered

a popmap (jpg, png..) with homogen heights, grey, with some white dots can give this :

one configure parameters like min and max floor numbers, width, height/width ratio, inter-building spaces etc..

 

 

 

this one gives a round shaped city :

The second source is a 'groundmap' image, which is used to provide the location of streets in-town. it's an image file with roads drawn in black :

groundmap
image
rendered

parameters : sidewalks heights, pixel scale, corner shapes etc... :



the script will then mix the two sources together, according to the numerous options it offers to interpret them. even if the 2 sources are always the same, you're potentially able to build an infinite variety of cities.

groundmap and popmap mixed rendered
+
ground and building are scaled apart from each other and influence mutually.
  • a third important source of data is the 'building library' :

    groundmap and popmap care about the whole city final appearance, and the building library cares about each building appearance. the script offers some default libraries like houses, residential buildings, skyscrapers.
    once you've configured the main parameters, you can setup the library mixer, that will build from the current allocated volume a particular shape (skycrapers, normal building, house etc..) depending on its main property and the way you'll configure the different category filters.


    a cube city(left) and a residential city (right) with the same image sources and the same configuration.

    These libraries act as plugins : every one can be activated/desactivated/modified/deleted/added.. a part from the core. they have their own parameters, available from the main user interface.


Last Updated on Monday, 21 December 2009 17:42