World

From wiki.phychi.com
Revision as of 17:11, 16 December 2016 by Antonio (talk | contribs)

Jump to: navigation, search

You know our world, our little automaticly generated room to test your creativity. This article will list, and explain certain world generational features, and configurable things.

  1. #Surface Surface
  2. #Representation Representation
  3. #Saveing Saving

Surface

The surface of the world (alpha) is a typical by perlin generated surface with the only difference that it's not pure perlin. It's perlin2 which allows the terrain to loose it's cubiness.

Representation

You might know there is more behind a world than you can simple see, and the world isn't generated as a list of vertices, and faces. The world is generated from different height layers, stuctures like trees, and ore spawn properties. From that description you'll get a long graph in which you can see all blocks representated as beeing somewhere on the map. That's the idea of minecraft but to create a nicer feeling, a heigh rate of detail at low cost, you need to create a system that renders many things near you and only shaped far away. Because of that phychi.com's creator user:Antonio chose to use an exponential system: per each 2n chunks there is one group of representations adjusted to the distance to the camera/player.

Saving

Saving... well I think you know what that's good for. Now how we keep our data small, and with that servers cheap, and your internet connection fewer occupied: We only save changes: only when a chunk was changed at all it will be saved, otherwise it just will be regenerated the next time a players walks near it. Also there might be a block property that allows to be not saved, so a chunk where just one grass block was destroyed just don't need to be saved, because the grass would have regenerated anyways. Without that method of saving only differences, we would get into big trouble with saving data, especially when you use your map together with friends, and that a long time.