Global Roads & Traffic [Lite]

This package contains a procedural mesh generator to build fully functional roads and walkways, including bridges, tunnels, roundabouts, traffic lights, etc. It is suitable for simulation games where you want to quickly produce multiple levels based closely on real places. The package allows you to specify a location box anywhere on earth, then builds a detailed 3D model of all roads and walkways within that location box.


This package also contains a traffic and pedestrian simulator. Traffic includes cars, buses and trucks that move using industry-tested, peer-reviewed car-following and lane-changing models. The package includes a code library that you can use to control the simulation, down to the level of individual vehicles and pedestrians. See API at https://vroad.uk/api


In addition, as an option, to decorate the terrain, you can download terrain and aerial image data from Mapbox.com, if you register and create an account with them. This does not require any payment to Mapbox unless you exceed the generous free tier. If you do not register a Mapbox account, the only difference you will see is that the underlying terrain will be flat, and will be rendered with a plain texture of your choice.


The scene generator runs on Windows/Mac/Linux, while the simulation runs on Windows/Mac/Linux and Mobile platforms.

Release Notes

[2.5.4]

  • Added variable to show Red+Amber Traffic Light for defined time before Green
  • Clarified documentation regarding optional Mapbox features

[2.5.3]

  • Fix for opening simulation .vroad files on iOS - set read-only permissions
  • Fix for water/coastline inversions in unusual cases

[2.5.2]

  • Compiled for MacOS on Intel as well as MacOS on Arm (M1/M2)
  • Additional fix for MacOS Application.persistentDatapath
  • Fix for MacOS - rebuild was failing if JSON file name contained apostrophe

[2.5.1]

  • Includes workaround for MacOS bug in definition of Application.persistentDatapath

[2.5]

  • Some of the build options previously on the Options Tab in the Global Roads and Traffic window are now available in the Inspector for the UBuildMap object.
  • Improvement: better vertical smoothing of roads, to remove "wrinkles" from the gradients of adjacent road sections.
  • Improvement: more cycle and bus lanes are read from OSM data
  • Fix: it is now possible to have a simple terrain with no aerial image in the prefab. Previously this combination did not allow the prefab to be saved.
  • Fix: there is an improved method for tessellating junction surfaces, so there are fewer instances of junctions with "holes" in the surface.
  • Fix: ghost centrelines (for discarded walkways and crossings) are no longer saved as part of the VRoad model.

[2.4.1]

  • Fix for issue with file permissions on Mac and Linux

[2.4]

  • Support for Mac - built and tested on Apple M1 with Monterey
  • Support for Linux - built and tested on Ubuntu 22.04

[2.3]

  • Aerial images stored within .vroad file for distribution
  • Aerial images texture-mapped onto layered terrain object
  • More parameters available for buildings and layered terrain
  • Improved smoothing algorithm for road elevation changes
  • Improved turn arrow angle calculation
  • Zoom 14 now available in Lite for aerial images

[2.2.1]

  • Allow direct build to exe of all classes including editor scripts

[2.2]

  • New options to suppress generation of walks/buildings/buses to speed up build
  • Fix for compatibility with Unity Starter Assets 1.1.1 (OnFootstep event)
  • Fix for empty footpath mesh with some types of median marking and single mesh
  • Fix for simulation pausing after changing speed
  • Fix to make simulation smoother, rather than changing time step under load

[2.1]

  • Bug fix: one map point per centreline on each junction
  • Improvement: reduce Z-fighting on building roofs
  • Improvement: adjust building outlines by default

[2.0]

  • Low-resolution demo of aerial images (from MapBox) as ground surface
  • Texture mapping for walls of some buildings
  • Variable parameters for road building - verge width, pier separation, etc

[1.3] Bug fix: Save as Prefab not working correctly for new lane textures


[1.2]

Improved texture mapping for lanes, so that the lane striping can vary according to its position on the road.

Added control for simulation speed on editor window.

Includes fixes to improve over/under height settings for roads in unusual cases, and to better deal with twisted boundaries on water areas and buildings.


[1.1]

Some fixes to support more regional settings, such as comma for decimal point.

Demonstration prefab vehicles changed to be simpler, lower polygon count.


Basic Information
Latest Version
2.5.4 (20 Dec 2023)
Publisher
Virtual Road
Category
3D/Environments/Roadways
Size
91.8 MB
Price
free
Asset Rating
(19)
Extended Information
Unity Versions
2020.3.10
Render Pipelines
BIRP URP HDRP
State
Published