Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface material issue in mgvalleys #4015

Closed
paramat opened this issue Apr 21, 2016 · 12 comments
Closed

Surface material issue in mgvalleys #4015

paramat opened this issue Apr 21, 2016 · 12 comments
Labels
Bug Issues that were confirmed to be a bug @ Mapgen

Comments

@paramat
Copy link
Contributor

paramat commented Apr 21, 2016

screenshot_20160405_164252

@duane-r
Not a blocker but if it can be fixed for release that's good.

@duane-r
Copy link
Contributor

duane-r commented Apr 21, 2016

I can't tell what I'm looking at here. What do those blocks actually read as? Can you post a seed/location?

@duane-r
Copy link
Contributor

duane-r commented Apr 21, 2016

The green on the side of the blocks is being caused by the snow side texture:
https://github.com/minetest/minetest_game/blob/master/mods/default/textures/default_snow_side.png

@ghost
Copy link

ghost commented Apr 21, 2016

@duane-r , I believe he is referring to the dirt blocks on top of a snow layer.
snow-side

@est31 est31 added the Bug Issues that were confirmed to be a bug label Apr 21, 2016
@paramat
Copy link
Contributor Author

paramat commented Apr 21, 2016

Sorry it was an old deleted world. This may be around y = 47 but not sure, it was in rough mountainous terrain at fairly high altitude.
Yes the bug is surface biome nodes (dirt_with_grass/snow) below dirt blocks. The surface node should only be on the surface. This is strange i don't know how it happens.

@duane-r
Copy link
Contributor

duane-r commented Apr 22, 2016

I haven't been able to duplicate this anywhere. It looks like a boundary issue, from what you're saying. I find lots of exposed stone at the chunk boundary, but that's about it.

I'm fairly sure the problem is not in the grass abm, given that it happened in so many blocks at once, but I can't see why generateBiomes would be dropping two surface blocks unless a second mapgen thread is rebuilding one of the chunks in a different way or there's a very tiny cave where air is being replaced by stone for structural support in the upper chunk after the cave puts down a surface block in the lower chunk. Maybe the removal of "node_max.Y + 1" in the cave method is an issue?

I hesitate to do anything without a repeatable case.

@DonBatman
Copy link
Contributor

@duane-r I found the same thing. The pos and seed is in the image.
http://imgur.com/zErJTcU

@duane-r
Copy link
Contributor

duane-r commented Apr 22, 2016

Well, I'm doing something wrong. This is my screenshot of the same place (I think).
http://duanerobertson.com/img/surface-material-problem-01.jpg

I'm using the latest code from master (as of last night), and no mods. I get no sand and no doubling. (And why would there be sand in one and not the other?) The terrain shape looks the same, so we've got the same noises.

Don, if you make another world with the same noise, does the problem come up consistently?

@DonBatman
Copy link
Contributor

DonBatman commented Apr 22, 2016

@duane-r This is from the latest master.
http://imgur.com/MXl3Aw5

Edit - I tried a new seed and can not find any issue. You must have fixed it!

@duane-r
Copy link
Contributor

duane-r commented Apr 22, 2016

So you updated to the latest master and the doubling went away (but the odd sand is still there)? If that's so, do you remember the last time you pulled? Or did the problem just not carry over when you remade the world? (Or am I missing the problem again?)

@DonBatman
Copy link
Contributor

I pulled yesterday. My first image was from a pull a couple days ago.
The latest build does not show the doubling.

@paramat
Copy link
Contributor Author

paramat commented Apr 23, 2016

Okay i think this was solved then by my recent commit to mgvalleys, my screenshot was from before that commit (sorry) thanks everyone for testing.

@paramat paramat closed this as completed Apr 23, 2016
@paramat
Copy link
Contributor Author

paramat commented Apr 25, 2016

I think this was the code that placed biome surface nodes in tunnels misbehaving, somehting i fixed in all mapgens recently fe349d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug @ Mapgen
Projects
None yet
Development

No branches or pull requests

4 participants