<\/a>Another bug screenshot, today.<\/p>\nJust found this spot in a generated world.\u00a0 It’s actually supposed to be a very flat plain (I’ve temporarily removed most terrain features while I’m rehashing terrain modification), but the ground has wound up turning into a bed of spikes.<\/p>\n
I haven’t fixed this yet, but I think the problem is that the world geometry has begun generating before the general world shape has been selected.<\/p>\n
The world generation happens in a bunch of background threads.\u00a0 It generates (right now) five different versions of the world ground data, at varying levels of detail.\u00a0 And I believe what we’re seeing here is the result of one level of detail being generated while the world was in one state, and the next one being generated while it was in another.\u00a0 So one vertex in every four winds up at a different height than all its neighbors.<\/p>\n
Need to figure out exactly where the bug is, obviously.\u00a0 Wouldn’t do for the poor players to impale themselves on the ground accidentally.\u00a0 :)<\/p>\n
Edit, 30 minutes later:<\/strong>\u00a0 Finally found and fixed the bug.\u00a0 Same cause as the bug from the last post.\u00a0 All sorted out now;\u00a0 it was exactly what I’d predicted;\u00a0 certain bits of world shape weren’t being set until after the game’s first ‘draw’, and so any bits of the world which were generated before that were getting the wrong shape for the world.<\/p>\n","protected":false},"excerpt":{"rendered":"Another bug screenshot, today. Just found this spot in a generated world.\u00a0 It’s actually supposed to be a very flat plain (I’ve temporarily removed most terrain features while I’m rehashing terrain modification), but the ground has wound up turning into a bed of spikes. I haven’t fixed this yet, but I think the problem is…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-Kv","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2883"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=2883"}],"version-history":[{"count":3,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2883\/revisions"}],"predecessor-version":[{"id":2886,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2883\/revisions\/2886"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}