An Augmented Reality viewer for sustainable urban planning in Cape Townโs Foreshore Freeway Precinct
Google Sites Link: https://sites.google.com/myuwc.ac.za/smartcityar-masad-bandarkar/home
SmartCity AR is an Augmented Reality (AR) application designed to help visualize urban planning proposals for Cape Townโs Foreshore Freeway Precinct โ an area affected by traffic congestion, poor pedestrian access, and underutilized spaces.
Traditional 2D maps and static diagrams fail to capture how different infrastructure systems interact in three dimensions. SmartCity AR bridges this gap by allowing planners, architects, students, and the public to explore 3D planning scenarios interactively in real-world context.
To develop an AR-based visualization tool that allows users to:
- Compare Sustainable vs Unsustainable planning scenarios.
- Toggle individual infrastructure layers such as roads, electricity, and water.
- Simulate traffic flow across major routes.
- View contextual information about city structures and proposed improvements.
Cape Townโs Foreshore Freeway Precinct suffers from:
- Chronic traffic congestion,
- Underutilized highway structures, and
- Limited pedestrian accessibility.
Urban planning proposals are difficult to interpret because static tools canโt show 3D spatial relationships or mobility interactions. SmartCity AR provides an interactive, immersive solution to visualize and evaluate different urban design strategies.
| Feature | Description |
|---|---|
| Toggle Scenarios | โ Toggle between Sustainable and Unsustainable scenarios. |
| Layer Control | โ Enable/disable infrastructure layers โ Roads, Electricity, Water. |
| Traffic Simulation | โ View realistic traffic flow simulation using object pooling. |
| Model Navigation | โ Navigate the model using camera focus buttons. |
| Contextual Info | โ Interactive info buttons for contextual pop-ups. |
| Reset | โ Reset functionality to return to the main menu. |
- Performance: โก Fast scene load time (average: 4.8 seconds).
- Frame Rate: ๐ฎ Smooth performance at 30โ46 FPS on mid-range Android devices.
- Usability: ๐ฑ Mobile-friendly UI with large, accessible touch buttons.
- Architecture: ๐๏ธ Modular architecture for scalability and easy feature additions.
The architecture follows a modular, layered design to separate UI, AR logic, and simulation systems for scalability and maintainability.
| Component | Description |
|---|---|
ARAppController.cs |
Controls AR initialization and scene management. |
UIController.cs |
Handles user input (toggles, buttons, navigation). |
SceneManager.cs |
Manages loading and visibility of infrastructure layers. |
RoadPath.cs |
Defines waypoints for vehicle movement. |
TrafficSpawner.cs |
Uses object pooling for efficient traffic simulation. |
CameraMoveTrigger.cs |
Handles camera transitions to key points of interest. |
| Layer | Technology |
|---|---|
| Engine | Unity 2022 |
| Language | C# |
| AR Framework | AR Foundation (ARCore compatible) |
| 3D Modeling | Blender + Blender GIS (OpenStreetMap integration) |
| Version Control | Git + GitHub |
| Target Platform | Android (ARCore-supported devices) |
| Test Type | Focus | Outcome | Future Optimization |
|---|---|---|---|
| Functional Testing | Infrastructure toggles, camera navigation, scenario switching | โ Passed | N/A |
| Performance Testing | Scene load time, FPS consistency | โ Passed | N/A |
| Edge Cases | All layers + full traffic on entry-level device | Implement Level-of-Detail (LOD) for traffic vehicles ๐ Planned |
- Unity 2022 or later
- Android device with ARCore support
- USB cable for device deployment
- Clone the repository
git clone [https://github.com/](https://github.com/)<your-username>/SmartCity-AR.git cd SmartCity-AR
- Open the project in Unity 2022.
- Ensure AR Foundation and ARCore XR Plugin are installed via the Package Manager.
- Go to Build Settings โ Android โ Build & Run.
- Launch the app on your AR-supported device.
| Sustainable View | Unsustainable View | Traffic Simulation |
|---|---|---|
- OpenStreetMap Data via Blender GIS
- Unity AR Foundation Documentation
- City of Cape Town โ Foreshore Freeway Precinct Redevelopment Reports
- Add real-time traffic data integration.
- Implement LOD (Level of Detail) optimization for better performance.
- Develop a web-based AR viewer for accessibility without an app.
- Integrate multi-user collaboration using cloud anchors.
Mohamed Asad Bandarkar
- ๐ University of the Western Cape โ BSc Honours Computer Science
- ๐ง [[email protected]]
- ๐ LinkedIn Profile |