{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/4100","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/4100/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/4100/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/4100/events","html_url":"https://github.com/minetest/minetest/pull/4100","id":153625793,"number":4100,"title":"Defaultsettings/Android: Increase 'max block generate distance' to 3","user":{"login":"paramat","id":3686677,"avatar_url":"https://avatars.githubusercontent.com/u/3686677?v=3","gravatar_id":"","url":"https://api.github.com/users/paramat","html_url":"https://github.com/paramat","followers_url":"https://api.github.com/users/paramat/followers","following_url":"https://api.github.com/users/paramat/following{/other_user}","gists_url":"https://api.github.com/users/paramat/gists{/gist_id}","starred_url":"https://api.github.com/users/paramat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramat/subscriptions","organizations_url":"https://api.github.com/users/paramat/orgs","repos_url":"https://api.github.com/users/paramat/repos","events_url":"https://api.github.com/users/paramat/events{/privacy}","received_events_url":"https://api.github.com/users/paramat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Mapgen","name":"@ Mapgen","color":"009800"},{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Startup%20/%20Config%20/%20Util","name":"@ Startup / Config / Util","color":"009800"},{"url":"https://api.github.com/repos/minetest/minetest/labels/Android","name":"Android","color":"207de5"},{"url":"https://api.github.com/repos/minetest/minetest/labels/One%20approval","name":"One approval","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/minetest/minetest/milestones/7","html_url":"https://github.com/minetest/minetest/milestones/0.4.14","labels_url":"https://api.github.com/repos/minetest/minetest/milestones/7/labels","id":1601315,"number":7,"title":"0.4.14","description":"This milestone for issues which should get resolved before the 0.4.14 release.","creator":{"login":"kahrl","id":630411,"avatar_url":"https://avatars.githubusercontent.com/u/630411?v=3","gravatar_id":"","url":"https://api.github.com/users/kahrl","html_url":"https://github.com/kahrl","followers_url":"https://api.github.com/users/kahrl/followers","following_url":"https://api.github.com/users/kahrl/following{/other_user}","gists_url":"https://api.github.com/users/kahrl/gists{/gist_id}","starred_url":"https://api.github.com/users/kahrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahrl/subscriptions","organizations_url":"https://api.github.com/users/kahrl/orgs","repos_url":"https://api.github.com/users/kahrl/repos","events_url":"https://api.github.com/users/kahrl/events{/privacy}","received_events_url":"https://api.github.com/users/kahrl/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":105,"state":"open","created_at":"2016-02-23T23:07:27Z","updated_at":"2016-05-08T09:04:07Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2016-05-08T00:11:05Z","updated_at":"2016-05-08T21:02:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/4100","html_url":"https://github.com/minetest/minetest/pull/4100","diff_url":"https://github.com/minetest/minetest/pull/4100.diff","patch_url":"https://github.com/minetest/minetest/pull/4100.patch"},"body":"A recent commit set this to 2. ```settings->setDefault(\"max_block_generate_distance\", \"3\");``` Will not have much impact on performance, it ensures neighbouring chunks are reliably generated (because chunks are 3 blocks across) so that if a larger view range is used, landscape looks better instead of stopping 32 nodes away, which is too close.\r\nclient_mapblock_limit = 500 allows the world to be shown up to 50 nodes distance, so world should be generated this far too.\r\n\r\nBecause players mostly wander around, chunks that are generated earlier will then not have to be generated later as the player wanders around back into those neighbouring areas. So this does not increase the total number of chunks generated by much, just makes them generate earlier, while improving the view of the world.\r\n\r\nThe worst case is a player travelling along a long path, depending on their position within chunks the strip of world generated may be 3 chunks across instead of 2."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/217745893","html_url":"https://github.com/minetest/minetest/pull/4100#issuecomment-217745893","issue_url":"https://api.github.com/repos/minetest/minetest/issues/4100","id":217745893,"user":{"login":"paramat","id":3686677,"avatar_url":"https://avatars.githubusercontent.com/u/3686677?v=3","gravatar_id":"","url":"https://api.github.com/users/paramat","html_url":"https://github.com/paramat","followers_url":"https://api.github.com/users/paramat/followers","following_url":"https://api.github.com/users/paramat/following{/other_user}","gists_url":"https://api.github.com/users/paramat/gists{/gist_id}","starred_url":"https://api.github.com/users/paramat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramat/subscriptions","organizations_url":"https://api.github.com/users/paramat/orgs","repos_url":"https://api.github.com/users/paramat/repos","events_url":"https://api.github.com/users/paramat/events{/privacy}","received_events_url":"https://api.github.com/users/paramat/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T21:02:19Z","updated_at":"2016-05-08T21:02:19Z","body":"You're welcome to open another PR for view range. I'm not keen but will reconsider and others might approve it."}}