Map generator/ja
言語: | English • Deutsch • français • 日本語 • Bahasa Melayu |
---|
これは不完全な翻訳です。 お時間があるときに翻訳を完了させてください。 |
マップジェネレーター(略してmapgenと呼ばれることもあります)は、Minetestのマップを生成するコンポーネントです。このページでは地形の生成について説明しています。バイオーム(ブロックや植生など)については、バイオームのページをご覧ください。
はじめに
このMinetestに組み込まれた複雑なプログラムは、プレーヤーが成長するワールドであるマップをプロシージャルに生成できます。このプログラムはパーリンノイズに基づいて作られており、ランダムでありながら一貫した値を各ポイントに関連付けることができます。
ジェネレーター
マップジェネレーターには、いくつか種類があります。マップを生成する際にそれらを選択できます。また、マップジェネレーターは詳細設定メニューでたくさんの設定ができます。
すべてのマップジェネレーターには、バイオームがあります。v6を除くすべてのマップジェネレーターで、ModからBiome APIを使ってこれらのバイオームを定義できます。v6マップジェネレーターだけが特別なのは、バイオームが事前に定義されており簡単に変更できないからです。
注意: v5とv6は古いマップジェネレーターではありません。v5、v6、v7は名前でバージョン番号ではありません。Minetestに含まれるすべてのマップジェネレーターは、公式にサポートされ、アップデートしています。
概要
以下は、利用可能なマップジェネレーターについての簡単な解説です。
- v5: たくさんの浮かんだ奇妙な土地と極端に張り出した地形と深い海がある非現実的ながら興味深い風景が作られます。奇妙さは一部の人に受けています。
- v6: シンプルな丘や崖、高原がある平坦な地形の小さくまとまった地形が作られます。地形の張り出しはなくバイオームはすでに定義されています。
- v7: 非常に広大な風景が作られます。張り出した地形の高い山と遠くまで続く平原があります。海には大きな水路が流れます。
- carpathian: 複雑でリアルな山々には複数のバリエーションがあり極端な高さに達するものもあります。その山々は海と遠くまで続く平らな平原で隔てられています。
- valleys: たくさんの丘や山、谷が生成されます。その中には川の水が流れるものもあります
- flat: 平らな世界ですが、洞窟やバイオーム、木などの装飾はあります
- fractal: 選択したフラクタルに基づいて生成されます。細かく設定できます
- singlenode: 空っぽの世界です
ギャラリー
ここでは、それぞれのマップジェネレーターで生成された風景の例を紹介します(Minetest Gameを使用)。
解説
All map generators described in full detail.
To learn more about detailed configuration, see Map generator features. To learn more about the history of the map generators, see Map Generator Evolution.
v5
Notable for its unique and somewhat strange terrain shape and occasional floating islands which often look like blobs. Extreme overhanging terrain is not uncommon and the landscape is sometimes realistic, sometimes strange and challenging. The oceans can sometimes reach extreme depths as well. While the landscape is not exactly realistic, this mapgen is intentionally included in Minetest because its uniqueness and weirdness also has a special appeal to some.
Like most map generators, v5 generates many caves in the underground. The caves are often tight but may be broad at times. They can sometimes be very long, deep and tricky to explore and form a complex tunnel system. Deep in the underground, there is a low chance to encounter giant caves. Like in most other mapgens, lava and water lakes may appear as lakes in the underground, but lava starts to appear very deep at Y=-273 or below.
The biomes have to defined by mods first, otherwise it will be a stone-only landscape. The same is true for all other mapgens except v6.
Landscapes are based on 3D Perlin noise.
v6
Notable for rather flat and simple hills and cliffs. The landscape is rather simple, the hills don't extend above Y=47 and there are no natural terrain overhangs (ignoring caves). The weirdness of v5 is eliminated.
The caves are simple, short and tight and have little variation, but they are frequent. Larger caves only generate for underground water and lava lakes. There are no giant caves. This is the only map generator in which lava is already generated below Y=-32, much higher than in the other mapgens.
This is the only map generator with predefined biomes: Grassland, forest, jungle, desert, taiga, tundra. Four species of trees are generated: Regular tree, apple tree, jungle tree and pine tree. The biomes can't be modified by mods. Because of the nature of v6, the biomes are much simpler than in the other map generators, and a couple of blocks found in the other map generators can't be found in v6 maps (for example: Silver Sand, Acacia Tree, Orange Coral).
Other unique features include: Large patches of dirt and sand in the underground, rare gravel fields on the surface and a setting to generate a flat map in v6 style.
Generated entirely using 2D Perlin noise.
v6 mapgen is officially stable.[1]
v7
Generates a very large-scale environment with large biomes and plains. One of the most unique features in this map generator are the broad and deep water canals (called “ridges”) at sea level, but they can be disabled. Like in v5, the biome have to be defined by mods first. This mapgen also has the unique feature of supporting floating islands high in the sky (→Map generator features), but they are disabled by default.
The generated caves are broad, often have lots of space and are often very long and complex and like to branch off. Sudden drops are not unusual. Deep in the underground, giant caves may form (like in v5).
Uses 2D and 3D Perlin noise. It mapgen the default selection since Minetest 0.4.15.
v7 mapgen is officially stable, with the exception of floatlands.[1]
carpathian
Vast and relatively flat plains, rolling hills and complex, realistic mountain ranges dominate the landscape. Mountains come in several forms. In mountain ranges, ridges and terraced mountains can form. Rarely there are extremely big mountains and rarely there are fjords.
valleys
Generates a landscape featuring many hills, mountains and valleys. The valleys often contain rivers with river water. The rivers are very different than in v7, since they are not at ocean level and actually flow downhill. Another unique feature of this mapgen is the amplitude chill. The biome temperature falls with the height which means that at high elevations, cold biomes are much more likely.
The caves are similar to those of v7, but they tend to be much larger on average.
flat
Generates a perfectly flat world (ignoring structures and caves) with biomes. It can be configured to add occasional hills and lakes.
The generated caves are practically identical to those of v7.
fractal
Generates a map based on a fractal. It creates by far the weirdest terrain shapes, but its results are mostly predictable.
By default, a map based on the Mandelbrot set is generated. It is possible to choose one of many fractals which are based on the Mandelbrot and Julia set, which is chosen in the advanced settings menu (technical setting name “mgfractal_fractal
”). Changing this setting will yield wildly different results; if you want to make most of this mapgen, make sure to play around with the advanced settings a bit.
The generated caves are practically identical to those of v7.
singlenode
Generates an empty world.
To be precise: By default, this produces a world with only air everywhere. For games it is possible to replace the air with a different block.
It is intended to be used for mapgen mods which define their own map generation from scratch. This mapgen is not really usable if left unmodified because it is impossible to place blocks in mid-air without the use of mods.
Singlenode mapgen is officially stable.[1]