Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esri/cityengine-sdk
CityEngine is a 3D city modeling software for urban design, visual effects, and VR/AR production. With its C++ SDK you can create plugins and standalone apps capable to execute CityEngine CGA procedural modeling rules.
https://github.com/esri/cityengine-sdk
3d alembic api arcgis c-plus-plus cityengine cityengine-sdk collada cross-platform decoder encoder esri fbx geometry modelling native-development procedural processing sdk usd
Last synced: about 1 month ago
JSON representation
CityEngine is a 3D city modeling software for urban design, visual effects, and VR/AR production. With its C++ SDK you can create plugins and standalone apps capable to execute CityEngine CGA procedural modeling rules.
- Host: GitHub
- URL: https://github.com/esri/cityengine-sdk
- Owner: Esri
- License: apache-2.0
- Created: 2013-12-11T18:45:52.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T12:10:26.000Z (about 2 months ago)
- Last Synced: 2024-10-25T09:36:42.860Z (about 2 months ago)
- Topics: 3d, alembic, api, arcgis, c-plus-plus, cityengine, cityengine-sdk, collada, cross-platform, decoder, encoder, esri, fbx, geometry, modelling, native-development, procedural, processing, sdk, usd
- Homepage: https://esri.github.io/cityengine/cityenginesdk
- Size: 42.7 MB
- Stars: 205
- Watchers: 43
- Forks: 64
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
- awesome-arcgis-developers - ArcGIS CityEngine SDKs (C++) - C++ APIs, documentation and examples for the Procedural Runtime (PRT). (APIs and SDKs)
- awesome-arcgis-developer - ArcGIS CityEngine SDKs (C++) - C++ APIs, documentation and examples for the Procedural Runtime (PRT). (APIs and SDKs)
- awesome-arcgis-developer - ArcGIS CityEngine SDKs (C++) - C++ APIs, documentation and examples for the Procedural Runtime (PRT). (APIs and SDKs)
README
# CityEngine SDK
This is the official site for the SDK of [CityEngine](https://www.esri.com/en-us/arcgis/products/esri-cityengine/overview), 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](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/integrations) have been built, allowing to integrate CityEngine technology into other tools.
The CityEngine SDK can be used for the development of:
1. *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.
2. *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](https://github.com/esri/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:
1. This git repository with the example sources.
2. An archive per platform with the SDK binaries and offline documentation. The archives are attached to the [releases](https://github.com/Esri/cityengine-sdk/releases).
3. An archive with example data (e.g. rule packages and initial shapes), attached to the [releases](https://github.com/Esri/cityengine-sdk/releases) as well.## Quick Start
1. Clone or download this repository.
2. Download the [example data](https://github.com/Esri/cityengine-sdk/releases/latest/download/esri_ce_sdk-example_data-v3.zip) and unpack it into a `data` directory next to `examples` inside the repo:```text
/cityengine-sdk/
data/...
examples/...
```3. Continue with building and running the `prt4cmd` example for either [Windows](examples/prt4cmd/README_windows.md) or [Linux](examples/prt4cmd/README_linux.md). This will automatically download the SDK archive for your platform.
## Table of Contents
- [CityEngine SDK](#cityengine-sdk)
- [Quick Start](#quick-start)
- [Table of Contents](#table-of-contents)
- [Downloads](#downloads)
- [Examples](#examples)
- [Documentation](#documentation)
- [Related Software Products](#related-software-products)
- [General Software Requirements](#general-software-requirements)
- [All Platforms](#all-platforms)
- [Windows](#windows)
- [Linux](#linux)
- [Release History and Changelog](#release-history-and-changelog)
- [CityEngine Resources](#cityengine-resources)
- [Issues and Contributions](#issues-and-contributions)
- [Licensing](#licensing)## Downloads
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](https://github.com/Esri/cityengine-sdk/releases/latest) page.
## Examples
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:
* [prt4cmd](examples/prt4cmd): a simple command line utility to apply rule packages onto initial shapes and generate models.
* [stlenc](examples/stlenc): demonstrates how to write a custom encoder (exporter), in this case for the STL geometry format.
* [stldec](examples/stldec): demonstrates how to write a custom decoder (importer) for the STL geometry format.## Documentation
Read the [whitepaper](https://esri.github.io/cityengine-sdk/arcgis_prt_whitepaper.pdf) and the [architecture](https://esri.github.io/cityengine-sdk/arcgis_prt_architecture.pdf) overview pdfs or browse the [online reference](https://esri.github.io/cityengine-sdk). There is also an offline version in the downloaded sdk archive (/doc subdirectory).## Related Software Products
* [Overview](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/integrations)
* [PyPRT](https://esri.github.io/cityengine/pyprt): Python language bindings for the Procedural Runtime (PRT)
* [Palladio](https://esri.github.io/cityengine/palladio): CityEngine plugin for SideFX Houdini
* [Puma](https://esri.github.io/cityengine/puma): CityEngine plugin for McNeel Rhino3d
* [Serlio](https://esri.github.io/cityengine/serlio): CityEngine plugin for Autodesk Maya
* [Vitruvio](https://esri.github.io/cityengine/vitruvio): CityEngine plugin for Epic Unreal Engine## General Software Requirements
Please note that the individual example READMEs may include further requirements.
### All Platforms
* To load custom encoders built with the latest SDK, CityEngine 2024.0 is required. For older versions of CityEngine an older version of the SDK might have to be used, see [Release History](#release-history-and-changelog). Some SDK versions don't have a matching CityEngine.
* A license for the corresponding CityEngine version. For example, a license for CityEngine 2024.0 to author Rule Packages for the current SDK release.
* CMake 3.19 or later ()### Windows
* Windows 10 or 11 (64bit)
* Required C++ compiler: Visual Studio 2022 with Toolset MSVC 14.37 or later
* Required flags for extension libraries release mode: `/std:c++17 /bigobj /GR /EHsc /MD`### Linux
* RedHat Enterprise Linux 8.x or 9.x and compatible (e.g. Alma Linux or Rocky Linux)
* Required C++ compiler: GCC 11.2 or later (RedHat Enterprise Linux DevToolSet 11)
* Required flags for extension libraries: `-std=c++17 -march=nocona -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--exclude-libs,ALL`## Release History and Changelog
A detailed list of changes to the API, CGA language and built-in codecs can be found in the [Changelog](changelog.md).
* [v3.2.10211 (2024-07-11, CityEngine 2024.0)](https://github.com/Esri/cityengine-sdk/releases/tag/3.2.10211)
* [v3.2.9903 (2024-06-11, ArcGIS Pro 3.3, Enterprise 11.3)](https://github.com/Esri/cityengine-sdk/releases/tag/3.2.9903)
* [v3.1.9666 (2023-11-20, CityEngine 2023.1)](https://github.com/Esri/cityengine-sdk/releases/tag/3.1.9666)
* [v3.0.8961 (2023-10-05, ArcGIS Pro 3.2, Enterprise 11.2)](https://github.com/Esri/cityengine-sdk/releases/tag/3.0.8961)
* [v3.0.8905 (2023-06-10, CityEngine 2023.0)](https://github.com/Esri/cityengine-sdk/releases/tag/3.0.8905)
* [v2.7.8603 (2023-02-22, ArcGIS Pro 3.1, Enterprise 11.1)](https://github.com/Esri/cityengine-sdk/releases/tag/2.7.8603)
* [v2.7.8538 (2022-10-24, CityEngine 2022.1)](https://github.com/Esri/cityengine-sdk/releases/tag/2.7.8538)
* [v2.6.8300 (2022-06-16, CityEngine 2022.0)](https://github.com/Esri/cityengine-sdk/releases/tag/2.6.8300)
* [v2.6.8135 (2022-01-07, no matching CityEngine version)](https://github.com/Esri/cityengine-sdk/releases/tag/2.6.8135)
* [v2.5.7799 (2021-10-22, CityEngine 2021.1)](https://github.com/Esri/cityengine-sdk/releases/tag/2.5.7799)
* [v2.4.7316 (2021-05-27, CityEngine 2021.0)](https://github.com/Esri/cityengine-sdk/releases/tag/2.4.7316)
* [v2.3.6821 (2020-10-22, CityEngine 2020.1)](https://github.com/Esri/cityengine-sdk/releases/tag/2.3.6821)
* [v2.2.6332 (2020-06-09, CityEngine 2020.0)](https://github.com/Esri/cityengine-sdk/releases/tag/2.2.6332)
* [v2.1.5705 (2019-12-11, CityEngine 2019.1)](https://github.com/Esri/cityengine-sdk/releases/tag/2.1.5705)
* v2.1.5704 (2019-09-25, CityEngine 2019.1, replaced by v2.1.5705 with minor documentation fix)
* [v2.0.5403 (2019-05-08, CityEngine 2019.0)](https://github.com/Esri/cityengine-sdk/releases/tag/2.0.5403)
* [v1.10.4198 (2018-09-17, CityEngine 2018.1)](https://github.com/Esri/cityengine-sdk/releases/tag/1.10.4198)
* [v1.10.4051 (2018-05-11, CityEngine 2018.0)](https://github.com/Esri/cityengine-sdk/releases/tag/1.10.4051)
* [v1.9.3786 (2017-11-06, CityEngine 2017.1)](https://github.com/Esri/cityengine-sdk/releases/tag/1.9.3786)
* [v1.8.3501 (2017-06-29, CityEngine 2017.0)](https://github.com/Esri/cityengine-sdk/releases/tag/1.8.3501)
* [v1.7.2915 (2016-10-03, CityEngine 2016.1)](https://github.com/Esri/cityengine-sdk/releases/tag/1.7.2915)
* [v1.6.2663 (2016-06-21, CityEngine 2016.0)](https://github.com/Esri/cityengine-sdk/releases/tag/1.6.2663)
* [v1.4.2074 (2015-10-06, CityEngine 2015.2)](https://github.com/Esri/cityengine-sdk/releases/tag/1.4.2074)
* [v1.3.1969 (2015-06-17, CityEngine 2015.1)](https://github.com/Esri/cityengine-sdk/releases/tag/1.3.1969)
* [v1.3.1888 (2015-03-31, CityEngine 2015.0)](https://github.com/Esri/cityengine-sdk/releases/tag/1.3.1888)
* [v1.2.1591 (2014-09-01, CityEngine 2014.1)](https://github.com/Esri/cityengine-sdk/releases/tag/1.2.1591)
* [v1.1.1471 (2014-05-29, CityEngine 2014.0)](https://github.com/Esri/cityengine-sdk/releases/tag/1.1.1471)
* v1.0.1209 (2014-01-15, CityEngine 2013.1)## CityEngine Resources
* [CityEngine Community Forum](https://community.esri.com/t5/arcgis-cityengine/ct-p/arcgis-cityengine)
* [CityEngine Free Trial](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/trial)
* [CityEngine Product Page](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/overview)
* [CityEngine Resources, Tutorials, Examples, Release Notes](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/resources)
* [CityEngine Integrations (Urban, Plugins)](https://www.esri.com/en-us/arcgis/products/arcgis-cityengine/integrations)
* Youtube:
* Facebook:
* Twitter:## Issues and Contributions
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.
## Licensing
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:
*
*
* All content in the "Examples" directory/section is licensed under the APACHE 2.0 license. You may obtain a copy of this license at .
* For questions or enquiries regarding licensing, please contact the CityEngine team at [email protected].