City creation algorithm
Posted: 2009-10-26 17:35:42
I'm pretty much done adding buildings manually to terrain, I've placed so many buildings in PMC 51km Desert and now I'm looking the dreaded project of populating Mogadishu with houses... that I'm simply not going to do it manually anymore.
We need city creation algorithm.
I started to write C++ GUI tool where I can configure starting X/Z coordinate, building size, spacing between buildings and square size of the area where to place the buildings. The tool writes visitor 3 import script, ie text file, which is very quick to import to see the results but lateron WRP file could be written directly. The output now is 1 building and 3 dumpsters placed nicely on its sides as well as small part of stone wall/fence.
Right now I'm just like one day to this project, even though its been on my mind for some time.
What I really want it to do, is to have some sort of user definable "prefabs" on config file, then user would just let the tool know where to place the buildings and the tool would randomly create from these prefabs a city blocks and place them into the v3 import script file or WRP file directly.
I'm so lousy making cities (as can seen from my terrain work, lately on PMC 51km Desert) that I'm totally confident that I can make this tool to reach equal level that I can do by hand (in the volume I've had to do so far). So I'm optimistic on the outcome of this project.
Like said, all very much in early stages now.
We need city creation algorithm.
I started to write C++ GUI tool where I can configure starting X/Z coordinate, building size, spacing between buildings and square size of the area where to place the buildings. The tool writes visitor 3 import script, ie text file, which is very quick to import to see the results but lateron WRP file could be written directly. The output now is 1 building and 3 dumpsters placed nicely on its sides as well as small part of stone wall/fence.
Right now I'm just like one day to this project, even though its been on my mind for some time.
What I really want it to do, is to have some sort of user definable "prefabs" on config file, then user would just let the tool know where to place the buildings and the tool would randomly create from these prefabs a city blocks and place them into the v3 import script file or WRP file directly.
I'm so lousy making cities (as can seen from my terrain work, lately on PMC 51km Desert) that I'm totally confident that I can make this tool to reach equal level that I can do by hand (in the volume I've had to do so far). So I'm optimistic on the outcome of this project.
Like said, all very much in early stages now.