Re:Procedural world generation: C++11 library with highly cu...
by AndrewKemendo on Tuesday July 26, 2016 @06:32PM
(#12169235)
How is it generating the 3D Building objects (like the cathedral)? Does it just pull from a object library tied to that geo like google maps?
[ Parent
| on HN ]
Re:Procedural world generation: C++11 library with highly cu...
by eiskalt on Wednesday July 27, 2016 @03:19AM
(#12171115)
No, all 3D buildings data is provided by OpenStreetMap. This wiki page describes the model:
http://wiki.openstreetmap.org/wiki/Simple_3D_buildings
In short, all complex buildings are defined via multiple simple polygons with height, height under ground, colors, etc.
For example, you can check how Saint Basils Cathedral is defined (take a look at Members list):
Re:Procedural world generation: C++11 library with highly cu...
by shapov on Tuesday July 26, 2016 @07:25PM
(#12169469)
I think this is the relevant section of the docs.
https://github.com/reinterpretcat/utymap/wiki/How-To#customi...
Customize POI
By default, Place of Interest data is rendered as textured cube by demo app. If you want to customize this, check poi builder in demo app. You may replace default implementation with more complex. In future, there are plans to start adding specific builders for specific poi (e.g. builder for cache machine, street lights, etc.)