Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Using light maps to populate cities?  (Read 2898 times)

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Using light maps to populate cities?
« on: July 02, 2015, 06:14:02 pm »

I was thinking, if you had building models that were practically just cuboids with windows textured onto them and took up no more resources than the tree models, you could use pics of the Earth at night to create cities.

https://www.nasa.gov/mission_pages/NPP/news/earth-at-night.html



If the brightness value of the pixel was used to dictate the density of the building models you could dynamically create population areas all over Outerra. It wouldn't be perfect and you'd have things like lines of buildings where a highway has lit up the source pic but it'd help create a more living world.
Logged

John514

  • Hero Member
  • *****
  • Posts: 543
  • Certified TARDIS driver.
Re: Using light maps to populate cities?
« Reply #1 on: July 02, 2015, 07:09:39 pm »

Outerra will use OpenStreetMap data to crate and place buildings.
It is much more acurate than using lightmaps.
Logged
You mustn't be afraid to dream a little bigger, darling

Note: I do not claim to know everything.
I just like to help people around the forum.

Timmo

  • Member
  • **
  • Posts: 77
Re: Using light maps to populate cities?
« Reply #2 on: July 02, 2015, 07:11:05 pm »

You could....but there is far better data which denotes polygons of urban areas (in more poorly mapped ares) even down to individual buildings (in better mapped areas) such as Open Street Map (OSM).
The use of 'population density' rasters is useful though- In Microsoft Flightsim X/Lockheed Martin Prepar3D, a relatively coarse raster (~1.2km GSD equivalent) is used to control the density of cars on the roads, boats on the water, height distribution of buildings etc. Higher values (I think it's an 8 bit/0-255 raster) indicate greater population density, lower values indicate lower population density)
Logged