Integrating CityEngine and Unity for Immersive Campus ...
Transcript of Integrating CityEngine and Unity for Immersive Campus ...
![Page 1: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/1.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/2.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/3.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/4.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/5.jpg)
![Page 6: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/6.jpg)
University of Waterloo Outdoor Paths
![Page 7: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/7.jpg)
University of Waterloo Hallway Centrelines
![Page 8: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/8.jpg)
University of Waterloo Room Centre Points
![Page 9: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/9.jpg)
University of Waterloo Extruded Floorplans
![Page 10: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/10.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/11.jpg)
![Page 12: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/12.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/13.jpg)
![Page 14: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/14.jpg)
Exterior Modelling
Stereo Imagery 3D Building Models
![Page 15: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/15.jpg)
![Page 16: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/16.jpg)
![Page 17: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/17.jpg)
![Page 18: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/18.jpg)
Modelling With SketchUp and CityEngine
![Page 19: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/19.jpg)
LOD 0: 85 Polygons LOD 1: 390 Polygons LOD 2: 1071 Polygons
Building Model LODs
![Page 20: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/20.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/21.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/22.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/23.jpg)
Unity Demo…
![Page 24: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/24.jpg)
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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/25.jpg)
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 27: Integrating CityEngine and Unity for Immersive Campus ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/27.jpg)
© 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 ...](https://reader031.fdocuments.us/reader031/viewer/2022012514/618dc8495bb3256f40028f57/html5/thumbnails/28.jpg)