zeroCity

Procedural City-Generation Project.

This project is a sub-project of the FindingYonghee project.

About the code

[Warning] Because this project was developed with paid assets (3D models, toolkits), we intentionally did not upload them to this repository, so even if you download those assets and run the project, it may not work properly. If you want to test this project, please use released executable file.

Dependencies

Reference Paper
Citygen: An Interactive System for Procedural City Generation



How it works

Table of Contents

  1. Generate Initial Point & Voronoi Diagram
  2. Set Boundary of Voronoi as Primary Road
  3. Group Voronoi as City Cell & Set City Cell Boundary as Primary Road
  4. Generate Secondary Road & Graph
  1. Generate Primary Road Spline
  2. Generate Secondary Road Spline
  3. Reposition Connector
  1. Generate Primary Buildings
  2. Generate Secondary Buildings

Generate Road and City Cell Data

shapes1

1. Generate Initial Point & Voronoi Diagram

2. Set Boundary of Voronoi as Primary Road

3. Group Voronoi as City Cell & Set City Cell Boundary as Primary Road

4. Generate Secondary Road & Graph

shapes

shapes2

Generate Road Mesh

shapes3

5. Generate Primary Road Spline

6. Generate Secondary Road Spline

7. Reposition Connector

Generate Buildings

shapes4

8. Generate Primary Buildings

9. Generate Secondary Buildings