integrating cityengine and unity for immersive campus...

28
Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am Games Integrating CityEngine and Unity for Immersive Campus Simulations Michael Luubert and Dr. Brent Hall July 18, 2015

Upload: others

Post on 06-Sep-2019

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am Games

Integrating CityEngine and Unity for

Immersive Campus Simulations

Michael Luubert and Dr. Brent Hall

July 18, 2015

Page 2: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Outline

• ArcGIS 2D Campus Apps

- Campus Data Conversion

- iOS Routing App

- Floorplan Web Editor

• Exterior Modelling

• Elevation Workflow

• Interior Modelling

• Campus Apps Workflow

• Unity Demo

• Planned Application and Tool Releases

• CityEngine and Unity Challenges

• Questions

Page 3: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Campus Data Conversion

1. Georeferenced approximately 200 building plans based

on Community Maps basemap

2. Generated with Python script:

- point feature class from nodes marked as rooms or

points of interest

- line feature classes from adjacency list specifying

connected interior and exterior nodes

Page 4: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Data Cleanup

• Queried pathways that were greater than threshold

• Visualized paths in ArcScene to discover false positives

• Deleted invalid paths

Page 5: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 6: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

University of Waterloo Outdoor Paths

Page 7: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

University of Waterloo Hallway Centrelines

Page 8: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

University of Waterloo Room Centre Points

Page 9: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

University of Waterloo Extruded Floorplans

Page 10: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

iOS Routing Application

• Developed in the Fall of 2012

• Calculates shortest indoor or outdoor

route

• Adapted to work with the following

schools’ spatial data:

- McMaster University

- Dalhousie University

- University of Washington

Page 11: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 12: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Floorplan Web editor

• Features:

• Drawing tools for tracing

hallway centre lines, stairs,

and rooms

• Cut tool for splitting floorplan

into rooms and hallways

• Floorplan visibility toggling

Page 13: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 14: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Exterior Modelling

Stereo Imagery 3D Building Models

Page 15: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 16: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 17: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am
Page 18: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Modelling With SketchUp and CityEngine

Page 19: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

LOD 0: 85 Polygons LOD 1: 390 Polygons LOD 2: 1071 Polygons

Building Model LODs

Page 20: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Enterprise Geodatabase

Adjust Floor

Heights

Elevation

Table

Elevation (Contours)

Floorplans

Python

Script Building Models

Network Graph

Elevation Update Workflow

Campus

Floorplan

Features

with accurate

elevations

Page 21: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Interior Modelling Workflow

1. Import floorplans (raster or vector) into the appropriate feature classes ArcMap

2. Publish feature/scene/network services with layers ArcGIS Server

3. Digitize buildings floors, walls, and hallway centrelines Floorplan Web Editor

4. Execute tools to export the data to CityEngine ArcMap

5. Adjust the floorplan heights based on terrain and building models CityEngine

6. Execute script to update heights in the Enterprise Geodatabase CityEngine

7. Execute script to export model to Unity CityEngine

8. Update the Unity app to consume ArcGIS for Server Network Services Unity

Page 22: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

GP

Models

and

Scripts

CityEngine

Project

Campus

Apps

Workflow

Web app floorplan and routing editor

Unity

Campus

Apps

Unity

ProjectEnterprise Geodatabase

Feature

Service

2D

Runtime

Campus

Apps (iOS/

Android)

Map/

Network

Service

3D

Campus

Apps

With Release of the Runtime Quartz SDK and 4.0 JavaScript API

Scene

Service

Floorplan and Network Graph Heights

Page 23: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Unity Demo…

Page 24: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

CityEngine and Unity Integration Challenges

• Terrain

• Building level of detail tradeoffs

• Future Work: Mobile Unity Apps

Page 25: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Planned Campus Model GitHub Releases

• ECCE GitHub Page: https://github.com/EsriCanada-CE

• CityEngine and Unity GeoNet Group: http://arcg.is/1f3gdjR

Unity

Campus

Apps

Unity

Project

2D

Runtime

Campus

Apps (iOS/

Android)

2D

Runtime

Campus

Apps (iOS/

Android)

Available Now August September September October November

Page 26: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

Questions?

Michael Luubert: [email protected]

Page 27: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am

© 2015 Esri Canada Limited. All rights reserved. Trademarks

provided under license from Environmental Systems

Research Institute, Inc. Other product and company names

mentioned herein may be trademarks or registered

trademarks of their respective owners. Errors and omissions

excepted.

Page 28: Integrating CityEngine and Unity for Immersive Campus ...proceedings.esri.com/library/userconf/3dmap15/papers/3dmap_01.pdf · Proud Supporter of the TORONTO 2015 Pan Am/Parapan Am