Auto Road Generation and Levelling with CityGen3D
Real world heightmap data comes at relatively low resolution at approximately 30 metre samples. So how can we easily make it suitable for detailed up-close rendering, to accommodate roads on a hilly environment, for instance? CityGen3D has various tools to make your real world heightmap more realistic. One of these tools is the auto levelling function that can help to reduce camber on roads before generation. Notice early in the video, with the default heightmap for this location, how the roads on this hilly environment appear at unrealistic angles and would be near impossible to navigate. Using the CityGen3D Levelling and Smoothing tools we can reduce these extreme angles on the roads to generate a more realistic heightmap. The texturing is subsequently reapplied to match the new terrain, and the road can then be generated, all with just a few button clicks. Levelling feature available from v0.82 Current release v0.81 More info: twitter @CityGen3D https://www.citygen3d.com
Driving around a procedurally generated CityGen3D environment in Unity
Here's a CityGen3D test showing a procedurally generated environment based on map data from Andorra. CityGen3D is a work-in-progress Unity Asset for generating scenes automatically from OpenStreetMap data. Everything in the video aside from the car was generated automatically using CityGen3D interface from within Unity. There was no manual object placement. It allows you to prototype projects really fast and have terrain, roads, buildings, and other props and trees all spawned or generated for you automatically. Hook up your own materials and prefabs to the system using the UI, or use the supplied defaults to get you started. CityGen3D is currently available to purchase on pre-release Beta from https://www.citygen3d.com, with Unity Asset store release to follow later this year. Car and physics from Edy Vehicle Physics Pro. Video taken based off v0.82 code. Current public release v0.81, with v0.82 to follow soon. More info from: twitter @CityGen3D www.citygen3d.com
Procedurally generated freeway from OpenStreetMap data using CityGen3D Beta Unity Asset
Testing CityGen3D's motorway generation with Edy's Vehicle Physics Pro. Entire scene generated with no coding from OpenStreetMap data using CityGen3D Beta Unity Editor Extension. CityGen3D generates terrain and roads; can extrude meshes (eg guard rails); and spawn trees and buildings. This is all done through the CityGen3D UI in Unity allowing you to hook up your own prefabs and 3D assets. I was a massive OutRun fan in my youth so quite like the idea of using the tool to make my own road racing game to demo the asset. But here the road is quite hilly, so I'm taking it a bit easy as not to spin out! :) CityGen3D Beta is available direct from www.citygen3d.com for GBP £40 ahead of anticipated Unity Asset Store release next year. Vehicle and car physics from Edy's Vehicle Physics Pro. www.citygen3d.com Twitter: @CityGen3D
CityGen3D Scene Streaming - asynchronously load and unload pre-built terrains as player moves around
CityGen3D will soon have a run-time Landscape Manager for loading and unloading scenes in the background as the user moves around the world. This works without any collider setup, and you simply specify a range of terrain tiles to keep in memory. The next update also gives you more control over terrain size. No longer fixed at 1024x1024 metres, you can now choose 512x512 or 256x256 sized terrains. ----------------------------------------------------------- CityGen3D is a Unity Editor extension for automatically creating scenes from OpenStreetMap data. A beta version is available to purchase from https://www.citygen3d.com/ twitter: @CityGen3D Learn more on this Unity forum thread: https://forum.unity.com/threads/beta-released-citygen3d-procedural-city-generation-from-map-data.514677/
Tiling terrains from different data sets
The latest update to CityGen3D Beta for Unity allows you to expand your environment by tiling terrains from different OpenStreetMap databases. This allows you to process smaller chunks of data independently and still have the terrain heightmap and textures seamlessly align with each other. In this example a 1km village in England was generated and subsequently extended with a new download from OSM. Using the arrow buttons on the Location panel, instead of clicking a new location on the map, ensures the second terrain will be adjacent to the previously generated terrain through a shared reference origin and tiling system. CityGen3D is a work-in-progress Unity Editor extension that makes it possible to create scenes based on real world map data in just a few minutes without any coding. Find out more at www.citygen3d.com and on twitter @CityGen3D
Auto texturing Unity terrains with CityGen3D made much faster with multithreading.
Using CityGen3D it's possible to auto texture your terrains based on OpenStreetMap data. Here's a preview showing how this is now much faster in the development build, with a 2km terrain made up of four 1km tiles each being updated in under 4 seconds. In current release (v0.32) this takes well over 20 secs for each terrain. CityGen3D performs millions of raycasts to identify how each half-metre portion of terrain should be textured based on the surface and user defined rules. Code has been refactored to batch these raycasts and process the results across different processor cores using the new Unity jobs system with Burst compiler. So the next update should see these improvements in terrain texturing speed. Further updates during the beta will implement similar performance upgrades in other modules, making large environments much easier to work with. The scene in this video was created procedurally from OpenStreetMap data using CityGen3D in Unity. Beta now available at www.citygen3d.com twitter: @CityGen3D
Automatic painting of terrain detail in Unity with CityGen3D
The new terrain detail panel in CityGen3D can paint grass and plants on your terrains at the click of a button, based on rules you set. Make lush forests with dense grass and plant life, and fill farmland with crops. Simply choose a location and get Unity to build it for you with no coding! This scene was generated from OpenStreetMap data via the CityGen3D interface using prefabs and procedural geometry. CityGen3D Beta is available to purchase from https://www.citygen3d.com/store Please visit www.citygen3d.com for more information.
CityGen3D - First Look! (no sound)
First video release of CityGen3D in action. Using real world map data to generate a 3D environment in less than 10 minutes and a few button clicks. This video just gives an overview of some of the fundamental features. More in depth tutorials (with narration) will be available in future. CityGen3D is still in beta. More features will be added before official release. More info: web: www.citygen3d.com twitter: @CityGen3D