Page 2 of 2

Re: Random scenarios - parameters

Posted: Sun Oct 11, 2015 12:46 pm
by mongo
I found a beautiful code-example for a radomized polygonal map editor for flash.

http://www-cs-students.stanford.edu/~am ... eneration/

We just need the 2D quad-mesh tiling-part. I will further check about useful distributions of the tiling, including
- major (7-10 regions) and minor (3-5 regions) nations
- multiple "continents"/ islands
- equally spread resources
etc.

But for the first version I think we should work with an as simple as possible version:

fixed resolution
fixed pointset
one continent
each region consists about 10 squares
major nations have 7 regions, minor 3

It always can be extended in the future ;)

Re: Random scenarios - parameters

Posted: Tue Oct 13, 2015 11:29 pm
by Trilarion
Yes, that looks cool and surely could be used for random generated maps. It would be nice if you could make some research and write down the algorithm how they do it. If you want you could also then try it out with the help of a script language (Python for example).

Re: Random scenarios - parameters

Posted: Thu Oct 15, 2015 12:05 am
by mongo
Trilarion wrote:Yes, that looks cool and surely could be used for random generated maps. It would be nice if you could make some research and write down the algorithm how they do it.
It seems not so hard for our purpose. For Quadmeshes it is an equilateral vertexset and a 2 dimensional function including (land)/excluding (water) vertices.
Trilarion wrote:If you want you could also then try it out with the help of a script language (Python for example).
Yes, I will!!

Re: Random scenarios - parameters

Posted: Thu Oct 15, 2015 11:19 am
by Trilarion
mongo wrote:... Yes, I will!!
Very good. Thanks for doing it.

Re: Random scenarios - parameters

Posted: Tue Jan 19, 2016 10:26 pm
by mongo
I've started developing a first prototype in Java. As soon as it is running nicely I'll show you some results. Afterwards I'll try to implement it Python.

best
Andre

Re: Random scenarios - parameters

Posted: Fri Jan 22, 2016 10:05 am
by Trilarion
Hi Andre,

Fine. Let me know if there is something ready. Do you use Github or another versioning service? Then one could even look at intermediate results.

Cheers,
Jan

Re: Random scenarios - parameters

Posted: Thu Jan 28, 2016 10:42 am
by mongo
Hi Jan,

sorry, but I use my own svn-server yet. I can use to gitlab as soon as I have a running alpha version. I am working on some familiar problems right now.

best
Andre

Re: Random scenarios - parameters

Posted: Thu Jan 28, 2016 12:43 pm
by Trilarion
I hope your familiar problems are not too grave. Take your time. I will be here when you show the alpha version. I also plan to do more again in this project, but I'm kind of looking for a new job currently, so the immediate future does not look like I have a lot of time too.