This is the official site for the SDK of CityEngine, a 3D city modeling software for urban design, visual effects, and VR/AR production.
The CityEngine SDK can be used for the development of:
Custom importers and exporters for CityEngine.
This means the SDK enables you to develop CityEngine plugins to read or write additional 3D and image formats or your own proprietary 3D data format. A simple use case example is 3D printing where the STL geometry format is often needed. STL support is not provided out-of-the-box in CityEngine, but you can develop your own STL exporter as described below.
3D apps which need a procedural geometry engine.
The core of CityEngine is its unique geometry generation engine, called Procedural Runtime (PRT). PRT takes as input an initial geometry and then applies a given rule package (= CGA rules authored in CityEngine) to generate more detailed 3D geometry as output. For example, PRT can generate - based on given rules - a 3D model of a building out of a parcel polygon. With the SDK you can integrate PRT in your own 3D applications taking full advantage of the procedural geometry generation without running CityEngine. An interesting use case example is Palladio, a plugin for SideFX’s Houdini software. Palladio includes PRT and therefore extends Houdini with the procedural geometry engine of CityEngine. Another use case example could be a specific cultural heritage 3D application which automatically generates detailed 3D models of temples based on input attributes.
This document explains how to install the CityEngine SDK and how to work with the source-code examples contained in this repository. The CityEngine SDK is packaged into three parts:
The archives are available for download at the corresponding github release page. See installation instructions below for details.
The final directory layout should look like this:
/cityengine-sdk/ data/... examples/...
This repository contains a number of source code examples in the "examples" directory. Each example contains a README with detailed instructions how to build and use it:
Please note that the individual example READMEs may include further requirements.
/std:c++17 /bigobj /GR /EHsc /MD(use
-std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -march=nocona -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--exclude-libs,ALL
Did you find a bug or do you want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute and to extend and improve the examples by sending us pull requests.
The CityEngine SDK is free for personal, educational, and non-commercial use. Commercial use requires at least one commercial license of the latest CityEngine version installed in the organization. Redistribution or web service offerings are not allowed unless expressly permitted.