This is the official site for the SDK of CityEngine, a 3D city modeling software for urban design, visual effects, and VR/AR production. Using the CityEngine SDK, a number of open source plugins and APIs have been built, allowing to integrate CityEngine technology into other tools.
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:
Clone or download this repository.
Download the example data and unpack it into a data
directory next to examples
inside the repo:
/cityengine-sdk/
data/...
examples/...
Continue with building and running the prt4cmd
example for either Windows or Linux. This will automatically download the SDK archive for your platform.
You can manually download the SDK archive, the open-source examples in this repository and the example data from the Assets section on the Releases page.
This repository contains a number of source code examples in the examples
directory. Each example contains a platform-specific README with detailed instructions how to build and use it:
Read the whitepaper and the architecture overview pdfs or browse the online reference. There is also an offline version in the downloaded sdk archive (/doc subdirectory).
Please note that the individual example READMEs may include further requirements.
/std:c++17 /bigobj /GR /EHsc /MD
-std=c++17 -march=nocona -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--exclude-libs,ALL
A detailed list of changes to the API, CGA language and built-in codecs can be found in the Changelog.
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.
The CityEngine SDK is licensed under the Esri Terms of Use: