Stability of each mapgen

Post Reply
User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Stability of each mapgen

by paramat » Post

'Official stability' means we will not alter the terrain shape (that includes the structure of caves) unless it is unavoidable as part of a bugfix.
For non-mgv6 mapgens the biome system is separate and defined by MTGame, and is not stable, however changes are likely to be subtle and the worst that can happen is a few straight-edged biomes.

Mgv6 has been officially stable since 2012. Since mgv6 biomes are hardcoded into the engine the biomes are also stable.

Mgv7 terrain has been officially stable since 0.4.16 when it was made the default mapgen, however the optional floatlands (disabled by default) are not stable yet, maybe they will be for 0.5.0.

Mgsinglenode is obviously officially stable.

Mgv5, mgflat, mgfractal, mgvalleys and mgcarpathian terrains are not officially stable.
Last edited by paramat on Mon Apr 16, 2018 19:17, edited 1 time in total.

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: Stability of each mapgen

by Wuzzy » Post

Thank you, this is interesting information, but how is this news? ;-)

Information like this needs to be written down in README files, documentation, etc. instead of scattering it in the forums.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

Updated to clarify that only 3 mapgens are officially stable.

User avatar
v-rob
Developer
Posts: 970
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: Stability of each mapgen

by v-rob » Post

I find it funny how mgv5 was made in 2011 and it isn't considered stable. :)

Singlenode is stable?! *Gasp!* :P
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Stability of each mapgen

by rubenwardy » Post

v-rob wrote:I find it funny how mgv5 was made in 2011 and it isn't considered stable. :)

Singlenode is stable?! *Gasp!* :P
The v5 we have now was made much later, around 2015 or 16 I forget. The original v5 was removed.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
v-rob
Developer
Posts: 970
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: Stability of each mapgen

by v-rob » Post

Yes, but it still uses the same noises (with a few modifications, I believe)
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: Stability of each mapgen

by twoelk » Post

v-rob wrote:Yes, but it still uses the same noises (with a few modifications, I believe)
rather, total rewrite to achieve the same effect

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: Stability of each mapgen

by Wuzzy » Post

What exactly are the differences between the historical mapgen v5 from 0.3 and the current mapgen v5?

So far the only obvious difference I know of is usage of the biome API.
I believe the terrain shape is mostly the same. But is it identical?

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

For mgv5:
Terrain surface shape is identical or as close as it can be. The eased 3D noise new mgv5 uses may create a slightly different shape to the original 3D noise implementation.
The 3D noise tunnels are identical in shape.
Old mgv5 only had these tunnels and had random water and lava sources added underground. New mgv5 doesn't have these sources, instead it adds the 'large caves' from mgv6, which often contain water or lava, these were considered a better way to include underground liquids.
Also there is an option (default enabled) for the giant caverns deep underground.

Of course, the biomes, ores and decorations are completely different.

Brian Gaucher
Member
Posts: 77
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: Stability of each mapgen

by Brian Gaucher » Post

My question is.

When will mgv7, mgflat, and mgvalleys become stable?

Mgfractal will probably never be, given it isn't meant to be used in servers or for actually playing (mostly testing, proof-of-concept). And mgcarpathian is quite new.

Also, I think Minetest could have a tab that describes each MapGen. I still have no idea what they each are (other than fractal, flat and singlenode).
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

Mgv7 surface and underground is stable. The floatlands are not but they are disabled by default, they also seem quite well tuned so they might become stable at 5.0.0.

Mgflat in flat mode is stable. The only uncertainty about stability is the 'lakes' and 'hills' options but there seems no reason to alter those.

Mgvalleys and mgv5 seem near-stable. maybe for 5.0.0.

We're very hesitant about officially announcing a mapgen as stable because that is a big commitment that rules out certain types of improvement. However mapgens are often near-stable long before being 'officially' stable.
If you wait for official stability you'll miss out on good stuff for years. It's better to accept that very occasionally there may be a discontinuity in terrain.

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: Stability of each mapgen

by hajo » Post

paramat wrote:Mgv7 surface and underground is stable. The floatlands are not
Mgflat in flat mode is stable. The only uncertainty about stability is the 'lakes' and 'hills' options

mapgens are often near-stable long before being 'officially' stable.
very occasionally there may be a discontinuity in terrain.
Would it be possible to detect such discontinuities ?

Eg. with a mod that gets called whenever new terrain is generated (and writes a logfile),
and another mod that keeps emerging more and more of the map.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

A mod might be able to detect large flat walls running along mapchunk borders yes, and that mod could possibly also smooth the transitions.

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Stability of each mapgen

by Krock » Post

paramat wrote:and that mod could possibly also smooth the transitions.
Yes, such a mod already exists. However, detecting borders is slightly more complicated. It would need a on_generated callback which then loads the surrounding mapblocks to check whether there's a large change in terrain height in order to flatten it there. In addition to the height change, the biome might also have changed - which has then to be spread a bit to make the transition look acceptable.
It's much work to implement this - and the mod would cause additional lag for each new chunk to ensure a continuous terrain.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: Stability of each mapgen

by ExeterDad » Post

Krock wrote: Yes, such a mod already exists.
Whoa! How did I not know of this tool? Impressive videos!

User avatar
v-rob
Developer
Posts: 970
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: Stability of each mapgen

by v-rob » Post

Krock wrote: Yes, such a mod already exists.
excessive flattening + trees =
Spoiler
Very tall trees

Image
Attachments
screenshot_20180703_152248.png
screenshot_20180703_152248.png (684.68 KiB) Viewed 3653 times
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

I intend to have mgv5 and mgflat announced as officially stable for 5.0.0.
Mgvalleys is still somewhat of a mess, that i am slowly sorting out, so won't be for a while.
Mgcarpathian i might add a feature to (that has support from the mapgen creator), and is quite new, so again not for a while.

User avatar
uwu
Member
Posts: 43
Joined: Sun Jan 21, 2018 15:01

Re: Stability of each mapgen

by uwu » Post

How stable are v7's floatlands by now?

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Stability of each mapgen

by paramat » Post

There's been a complete change in the stating of mapgen stability.

Now, we only state which mapgens (or parts of mapgens) are 'highly unstable'.
Everything else should be considered as increasingly stable with time.
Now we recognise that stability is a smoothly varying thing, instead of 2 states: 'unstable' and 'stable'.
It is always possible, if it is absolutely necessary, that something may change, even in v6.
Any changes are likely to be minor, at worst, terrain being discontinuous between previously generated world and newly generated world.
Any mapgen that makes it into a stable release will be supported from then onwards.

Currently, only v7 floatlands are highly unstable. I am not happy with their generation, i might tune the parameters or even rewrite their generation method.
Last edited by paramat on Thu Jun 06, 2019 17:44, edited 1 time in total.

User avatar
Linuxdirk
Member
Posts: 3216
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Stability of each mapgen

by Linuxdirk » Post

paramat wrote:Currently, only v7 floatlands are highly unstable. I am not happy with their generation, i might tune the parameters or even rewrite their generation method.
They look good, though. Maybe just prevent water leaking off the islands.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests