Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass...

18
Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah

Transcript of Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass...

Page 1: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Procedural City ModelingImplemented As A Blender Plug-In

Kevin Mullane

Supervisors:Kevin GlassShaun BangayHannah Slay

Page 2: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Project Aims

• Procedural Techniques for the Creation of Virtual Cities

• City Road Layout Templates

• Preliminary Building Generation

Page 3: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Overview

• Project Background• City Generation Process• Implementation Techniques• Road Layout Template Implementation• Generated City Results• Conclusions

Page 4: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Project Background

• Text-To-Scene System– Current project of the Virtual Reality Special

Interest Group at Rhodes University– Aims to generate interactive 3D environments

based on textual descriptions.

• Blender Python API– Open Source 3D Modelling Package– Implements a Python Interface– Allows for Procedural Scene Generation

Page 5: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

City Generation Process

• City Limits Delimitation– User Parameter– Defined By Landscape– Randomly Generated

• Highway Network Generation– Raster / Checkered Layout– Branching Layout– Radial Layout

• Suburb Region Extraction– Region Extraction Algorithm– Structure Heights

Page 6: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

City Generation Process

• Road Network Generation– Region Subdivision– Regular Quads and Triangles– Roads and Intersections Extracted

• Block Region Extraction– Region Extraction Algorithm– Blocks Resized

• Building Extrusion– Quads Extruded Upwards– Height Within a Determined Range

Page 7: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

City Generation Process

Page 8: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Implementation Techniques

• Road Segment Generation

• Region Extraction Algorithm

• Regulated Subdivision

Page 9: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Implementation TechniquesRoad Segment Generation

Ray Generation

Endpoint Generation

Legality Testing

Road Layout Evaluation

Best point is chosen

New Road Segment is created

Road intersection testing

Endpoint proximity testing

Page 10: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Implementation TechniquesRegion Extraction Algorithm

Initial Road Selection

Smallest Angle Selection

Record Road Traversal and Direction

Accumulate Interior Angles

Exterior Region Detection

Page 11: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Implementation TechniquesRegulated Subdivision

Adjacent Edge Triangulation

Adjacent Triangle Evaluation

Shared Edge Removal

Quadrangle Subdivision

Triangle Subdivision

Further Quadrangle Creation

Page 12: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Road Layout Templates

• Raster / Checkered Layout– Restrict Road Generation Angle– Restrict Road Segment Lengths

• Branching Layout– Wider Range of Generation Angles– Less Restriction on Segment Length

• Radial / Circular Layout– Radial Roads – Circular Roads

Page 13: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Generated City Results

Page 14: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Generated City Results

Page 15: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Generated City Results

Layout: Circular / RadialHighway Segments: 23Intersections: 280Road Segments: 863Buildings: 3519

Page 16: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Generated City Results

Layout: CheckeredHighway Segments: 68Intersections: 741Road Segments: 2239Buildings: 8959

Page 17: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.

Conclusions

• Procedural Techniques for the Creation of Virtual Cities

• City Road Layout Templates

• Preliminary Building Generation

Page 18: Procedural City Modeling Implemented As A Blender Plug-In Kevin Mullane Supervisors: Kevin Glass Shaun Bangay Hannah Slay.