Restore mapgen v5 ?

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Restore mapgen v5 ?

by Gael de Sailly » Sat Oct 04, 2014 12:40

Hello !

I suggest to restore the mapgen V5 in the following Minetest version. It was interesting, because it was 3D noise.
I found these landscapes has a somewhat wonderful thing. I've played many times in the same world. But I had the bad idea to continue playing on it with Minetest 0.4.8 last year, and with mods, for example my Forest mod, carts and animal_modpack. Now I have a foolish map. But I've preserved the seed.

If I want to restaure this code, it's not only for me, but by thinking about this world, and this mapgen, I've realized it was actually very interesting.

The better place which remains of my world : this mountain has 94 blocks height. It doesn't exist in mapgen v6.
Image

The official mapgen v5 screenshot :
Image

There are 2 ways to do it :

First, we can translate it in LUA by lua voxelmanipulator and publish it as a mod.
Or we can put it in default mapgens (like v6, v7, indev and math) for the following Minetest.

I haven't a very good knowleadge of the C++. I think I can do the first thing, but not the second.
The code can be found here.

What do you think about it ?
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Restore mapgen v5 ?

by Krock » Sat Oct 04, 2014 13:00

The people from FM already added it back to the game (or planned to do so)
I would like to have this mapgen again in the game :)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Sun Oct 05, 2014 00:29

Celeron55 wants v5 back in Minetest, and a while back stated he wants to do that himself, whether he will get around to it i'm not sure. I recently considered making a simplified lua version. For a c++ version we could add mgv6 caves and biomes, mudflow etc. to mgv5 (because mgv7 has no biomes), so could be quite simple. If i can get my head around c++ mapgen i might have a go myself.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Restore mapgen v5 ?

by Inocudom » Sun Oct 05, 2014 00:48

paramat wrote:Celeron55 wants v5 back in Minetest, and a while back stated he wants to do that himself, whether he will get around to it i'm not sure. I recently considered making a simplified lua version. For a c++ version we could add mgv6 caves and biomes, mudflow etc. to mgv5 (because mgv7 has no biomes), so could be quite simple. If i can get my head around c++ mapgen i might have a go myself.

Have you ever seen the caves in a mapgen v5 world? They are quite interesting.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Sun Oct 05, 2014 00:59

Oops i forgot, caves are done in a better way in mgv5, using 2 3D noises, so this should be conserved for sure.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Restore mapgen v5 ?

by Gael de Sailly » Sun Oct 05, 2014 05:21

Inocudom wrote:Have you ever seen the caves in a mapgen v5 world? They are quite interesting.

Yes, sure, I prefer this cave generator. For example I've found a big cave which make the link between a beach and a mountain. It doesn't exists in v6 or it's far fewer beautiful.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

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

Re: Restore mapgen v5 ?

by Wuzzy » Sun Oct 05, 2014 05:46

I fully support the idea of reviving MGV5.
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: Restore mapgen v5 ?

by Dragonop » Sun Oct 05, 2014 23:37

I already suggest this in the ''News'' section, but only as a comment; glad to see that other people also think like me.
 

User avatar
Vazon
Member
 
Posts: 191
Joined: Sat Aug 17, 2013 17:20
IRC: Vazon
In-game: Vazon

Re: Restore mapgen v5 ?

by Vazon » Tue Oct 14, 2014 21:16

I agree as well, v6 is quite dull in mapgen wise, nothing really to explore. and v7 the only way to use it is add a mod and a lot of lag :(
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Wed Oct 15, 2014 02:28

See https://github.com/minetest/minetest/issues/1719#issuecomment-58321246 for Celeron55's almost complete mgv5 for recent Minetest, i edited his commits a little for latest Minetest and now have mgv5 running in a local compiled version. I might put my commits up at Github so you can compile this into Minetest yourself.
Hopefully i can get default registered ores working in this, hmmmm wants the mgv7 biome API used so i might attempt to integrate that.
 

greydmiyu
Member
 
Posts: 27
Joined: Thu Sep 18, 2014 12:00

Re: Restore mapgen v5 ?

by greydmiyu » Wed Oct 15, 2014 04:48

Vazon wrote:I agree as well, v6 is quite dull in mapgen wise, nothing really to explore. and v7 the only way to use it is add a mod and a lot of lag :(


That has been my experience so far. I have been unimpressed with the caving experience. All I have seen are moderately sized pocket caverns, no tunnels at all. :(
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Wed Oct 15, 2014 11:25

Image


^ Mgv5 in 0.4.10-dev from Celeron55's fork.
I added ores, removed the biomes. While i learn how to add the mgv7 biome API i'm using 'paragenv7' mod to add biomes (roughly 600ms per chunk). To use mgv7 you have to add your own biome and decoration registrations, see the 'Big Freaking Dig' Game as an example, using the mgv7 biome API this way is not slow because it is C++.


Image


Image


^ Paragenv7 on mgv5
 

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

Re: Restore mapgen v5 ?

by Wuzzy » Wed Oct 15, 2014 11:55

Yes! I am looking forward for this. :-)
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: Restore mapgen v5 ?

by Dragonop » Wed Oct 15, 2014 13:49

+1
+2
+3
+4
+5
+∞
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Thu Oct 16, 2014 11:53

Here's my mgv5 branch https://github.com/paramat/minetest/tree/mgv5
Here's the commit that adds mgv5 to recent 0.4.10 https://github.com/paramat/minetest/commit/a6ab3f99622a6281e1042c78bfa10af9654b2748
If you compile this you can use stone-only mgv5 with paragenv7.
 

MTDad
Member
 
Posts: 53
Joined: Fri Aug 29, 2014 05:38

Re: Restore mapgen v5 ?

by MTDad » Thu Oct 16, 2014 13:18

I tried, but I must have botched it somewhere as I have no v5 option. Cloned your repo, cmake, make yada yada, and got vanilla minetest. hmmm guess I'll try again.
 

User avatar
oleastre
Member
 
Posts: 81
Joined: Wed Aug 13, 2014 21:39
GitHub: oleastre
In-game: oleastre

Re: Restore mapgen v5 ?

by oleastre » Fri Oct 17, 2014 12:50

Maybe you forgot to switch to the mgv5 branch ?
=> git checkout -b mgv5
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Fri Oct 17, 2014 13:07

Image


I just now managed to get the mgv7 biome API working in mgv5.
https://github.com/paramat/minetest/commits/mgv5
Last edited by paramat on Fri Oct 17, 2014 15:26, edited 1 time in total.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Restore mapgen v5 ?

by Inocudom » Fri Oct 17, 2014 14:58

paramat wrote:Image


I just now managed to get the mgv7 biome API working in mgv5.
https://github.com/paramat/minetest/commits/mgv5

I will be sure to tell the developers of Freeminer about this.
 

MTDad
Member
 
Posts: 53
Joined: Fri Aug 29, 2014 05:38

Re: Restore mapgen v5 ?

by MTDad » Fri Oct 17, 2014 17:54

oleastre wrote:Maybe you forgot to switch to the mgv5 branch ?
=> git checkout -b mgv5


Thank You! Not forgot, didn't know, I'm a noob. Got it compiled now and just spent some time flying around some maps. I see what you guys mean, much more interesting maps, saw some great fjords. Some of it gets a bit surreal, but it does so in an eye-pleasing way as opposed to downright ugly like often happens for me in v6.

Image

Image
 

User avatar
Vazon
Member
 
Posts: 191
Joined: Sat Aug 17, 2013 17:20
IRC: Vazon
In-game: Vazon

Re: Restore mapgen v5 ?

by Vazon » Sat Oct 18, 2014 05:49

v6 isn't ugly so to say, but more plain you can go server to server that runs v6 and see not much difference in the two. that is why I love the idea of v5 being readded.
 

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

Re: Restore mapgen v5 ?

by RHR » Sat Oct 18, 2014 08:42

Great work paramat! But is mapgen v5 much slower than mapgen v6 ??
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: Restore mapgen v5 ?

by Jordach » Sat Oct 18, 2014 11:50

paramat wrote:Image


I just now managed to get the mgv7 biome API working in mgv5.
https://github.com/paramat/minetest/commits/mgv5

Try running BFD. I'd like to see MGV5 with something that actually can use the Biome API.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Restore mapgen v5 ?

by Gael de Sailly » Sat Oct 18, 2014 15:13

RHR wrote:Great work paramat! But is mapgen v5 much slower than mapgen v6 ??

Yes, mapgen V5 is slower. But if you have a recent computer, it's not a problem.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Restore mapgen v5 ?

by Krock » Sat Oct 18, 2014 16:50

mgv5 can't be very slow because several Lua mapgen use 3d perlin noise without long generation times.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Restore mapgen v5 ?

by Gael de Sailly » Sat Oct 18, 2014 18:30

If your computer is fast, no problem ! But if it's really slow, you should take the mapgen V6, which is extremely fast. Or, if you're sedentary in Minetest (which is not the case for me, at all !), you can use a slower mapgen. It will be slow at the firt time, but once the terrain is generated, it will be faster.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Sat Oct 18, 2014 23:46

Mgv5 is still using the old slower internal 3D noise code, i need to change this to the new faster 3D noise used in mgv7.
Jordach, already tried it to test decorations.


Image
Last edited by paramat on Sun Oct 19, 2014 13:06, edited 1 time in total.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Restore mapgen v5 ?

by paramat » Sun Oct 19, 2014 13:05

I'm stuck ... new noise is in, it runs but is all very low very smooth hills, and the cave threshold isn't acting as expected.
https://github.com/paramat/minetest/blob/mgv5/src/mapgen_v5.cpp
https://github.com/paramat/minetest/blob/mgv5/src/mapgen_v5.h
https://github.com/paramat/minetest/commits/mgv5
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Restore mapgen v5 ?

by Gael de Sailly » Sun Oct 19, 2014 16:20

Is it possible to rewrite it in Lua ?
I think I will try it, using my mapgen library (if you want to help me you're welcome).
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

MTDad
Member
 
Posts: 53
Joined: Fri Aug 29, 2014 05:38

Re: Restore mapgen v5 ?

by MTDad » Sun Oct 19, 2014 22:04

paramat wrote:I'm stuck ... new noise is in, it runs but is all very low very smooth hills, and the cave threshold isn't acting as expected.


When you said you were going to change it to the v7 3d code, the first thing that popped into my head was "nonono, not if it'll make it look like v7", but I admit to having no clue how that stuff works. (Its not that I don't like v7, but I think I like v5 more). My vote if its worth anything is to just roll it back to the old code. On my pc at least, it really didn't generate slow at all. There were some weird small patches that wouldn't render when I used BFD, but paragen made a really nice world.

And Duh I need to add that I for one really appreciate what you're doing. Mapgen is one of the sticky points I never quite seem to be satisfied with, and is one of the few minetest things I'm sure I'll never learn to do.
 

Next

Return to Minetest General

Who is online

Users browsing this forum: No registered users and 14 guests

cron