{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/6447","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/6447/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/6447/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/6447/events","html_url":"https://github.com/minetest/minetest/pull/6447","id":259052323,"number":6447,"title":"Prefer loading blocks near predicted future player position","user":{"login":"lhofhansl","id":446130,"avatar_url":"https://avatars0.githubusercontent.com/u/446130?v=4","gravatar_id":"","url":"https://api.github.com/users/lhofhansl","html_url":"https://github.com/lhofhansl","followers_url":"https://api.github.com/users/lhofhansl/followers","following_url":"https://api.github.com/users/lhofhansl/following{/other_user}","gists_url":"https://api.github.com/users/lhofhansl/gists{/gist_id}","starred_url":"https://api.github.com/users/lhofhansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhofhansl/subscriptions","organizations_url":"https://api.github.com/users/lhofhansl/orgs","repos_url":"https://api.github.com/users/lhofhansl/repos","events_url":"https://api.github.com/users/lhofhansl/events{/privacy}","received_events_url":"https://api.github.com/users/lhofhansl/received_events","type":"User","site_admin":false},"labels":[{"id":73368921,"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Server%20/%20Client%20/%20Env.","name":"@ Server / Client / Env.","color":"009800","default":false},{"id":256918838,"url":"https://api.github.com/repos/minetest/minetest/labels/Performance","name":"Performance","color":"ffff00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":64,"created_at":"2017-09-20T06:21:34Z","updated_at":"2017-10-01T05:31:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/6447","html_url":"https://github.com/minetest/minetest/pull/6447","diff_url":"https://github.com/minetest/minetest/pull/6447.diff","patch_url":"https://github.com/minetest/minetest/pull/6447.patch"},"body":"Very simple and stupid player position prediction.\r\n\r\nWhen a player is not (or slowly) moving, the logic is unchanged.\r\nBut if a player is moving fast (f.e. flying in fast mode) the server will prefer to send block some distance out in the direction the player is traveling.\r\nThis effect is capped at 50% of the visible range - that is farthest shift the player will allow.\r\n\r\nThis makes for a smoother experience. Human players tend to look into the direction they move, and then part will be rendered sooner. Capping it at 50% of the view range avoids rendering faraway \"block-islands\".\r\n\r\nNote: Part of this effect existed already, but it was set to exactly one MAPBLOCK out in the player's moving direction regardless of the player's speed. This makes it speed dependent.\r\n"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/333354816","html_url":"https://github.com/minetest/minetest/pull/6447#issuecomment-333354816","issue_url":"https://api.github.com/repos/minetest/minetest/issues/6447","id":333354816,"user":{"login":"lhofhansl","id":446130,"avatar_url":"https://avatars0.githubusercontent.com/u/446130?v=4","gravatar_id":"","url":"https://api.github.com/users/lhofhansl","html_url":"https://github.com/lhofhansl","followers_url":"https://api.github.com/users/lhofhansl/followers","following_url":"https://api.github.com/users/lhofhansl/following{/other_user}","gists_url":"https://api.github.com/users/lhofhansl/gists{/gist_id}","starred_url":"https://api.github.com/users/lhofhansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhofhansl/subscriptions","organizations_url":"https://api.github.com/users/lhofhansl/orgs","repos_url":"https://api.github.com/users/lhofhansl/repos","events_url":"https://api.github.com/users/lhofhansl/events{/privacy}","received_events_url":"https://api.github.com/users/lhofhansl/received_events","type":"User","site_admin":false},"created_at":"2017-10-01T05:31:32Z","updated_at":"2017-10-01T05:31:32Z","author_association":"CONTRIBUTOR","body":"@proller your comment got lost in the discussion. I looked the code you pointed out, but I do not quite get it. Any chance you can explain?"}}
{"actor":{"display_login":"lhofhansl"}}