Wednesday, 13 June 2007

Building a world from scratch


Creating a well structured, object oriented hierarchy for mirroring a world. After tough thinking I've started to construct the class hierarchy and implement some part of it. Imagine classes that extend the base class Place which has Boundaries, and are structured like World -> Plain, Forest, Jungle, Desert, Lake, River or World -> Population, House or World -> Country, County etc. This will be the locational basis for the AI modules to percept and make choices upon and in the World they are living. It must be a dynamic, interconnected complexity... This means my nicely modeled static small village is past...the world is a void now. A cosmos creating in the chaos. Have a look at the barren plains and the river that flows through it to get involved in the beginning...

The tricky part will be the Magnification Ratio of the places. After some calculation it turned out that for a huge world I will need to create a magnification system which allows to have small scale coordinates for big regions too yet smaller parts can still have detail when entered. It is not yet crystallized, but a really big coordinate system eats up my dual core, so it must be invented...

No comments:

Twitter