Page 1 of 1

[SOLVED] mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 13:35
by Ivà
I found this bug on latest git minetest and minetest_game. It happens on mapgen v6 snow biome, always on same 'y' altitude.

Image

I used the below perlin noise attributes and mapgen parameters (seed and map coordenates on the attached image):

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mg_flags = trees, caves, dungeons
enable_floating_dungeons = false
mgv6_spflags = jungles, biomeblend, mudflow, snowbiomes
mgv6_np_terrain_base   = -4,    35, (750, 750, 750), 82341, 6, 0.65
mgv6_np_terrain_higher = 10,    64, (750, 750, 750), 85039, 7, 0.6
mgv6_np_steepness      = 0.70, 0.2,    (60, 60, 60),  -932, 4, 0.8

Re: mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 15:55
by Hybrid Dog
there's another mapgen v6 bug, but in the source code
l often saw that dirt with grass, and even trees are generated at places they shouldn't, e.g.
Image
Image
Image

Edit: l already wondered why the snow on your screenshots has the same height everywhere…

Re: mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 16:08
by rubenwardy
@Hybrid Dog, the latest git has its own snow biome, rather than adding splizards snow mod.

Re: mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 16:16
by Hybrid Dog
rubenwardy wrote:@Hybrid Dog, the latest git has its own snow biome, rather than adding splizards snow mod.

l know, l think that Splizard's biome looks better, but l need to test it, thanks for remembering me.

Re: mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 19:40
by Ivà
May be this image zoom makes the bug more clear.

Image

Stone generated up to y = 45, then the mapgen places snow over it, and then continues generating stone at y > 45 making this linear gap. I think it's a bug.

@Hybrid Dog, didn't understand your post sorry.

Re: mapgen v6 bug in snow biome

PostPosted: Wed Jun 17, 2015 22:29
by paramat
The bug is at y=47 which is a mapchunk border. Mgv6 is very buggy at y=47 if made higher with custom noise parameters, the bugs are hard to fix, the gap is really ugly though i might try to fix it.

Re: mapgen v6 bug in snow biome

PostPosted: Thu Jun 18, 2015 13:35
by rubenwardy

Re: mapgen v6 bug in snow biome

PostPosted: Thu Jun 18, 2015 15:13
by Ivà
rubenwardy wrote:paramat has fixed this problem https://github.com/minetest/minetest/co ... 382228e248


Yesss!! Thankyou :-)