{"action":"opened","number":137,"pull_request":{"url":"https://api.github.com/repos/assaultcube/AC/pulls/137","id":47661325,"html_url":"https://github.com/assaultcube/AC/pull/137","diff_url":"https://github.com/assaultcube/AC/pull/137.diff","patch_url":"https://github.com/assaultcube/AC/pull/137.patch","issue_url":"https://api.github.com/repos/assaultcube/AC/issues/137","number":137,"state":"open","locked":false,"title":"New world renderer (EXPERIMENTAL)","user":{"login":"jmmaunus","id":7027896,"avatar_url":"https://avatars.githubusercontent.com/u/7027896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmmaunus","html_url":"https://github.com/jmmaunus","followers_url":"https://api.github.com/users/jmmaunus/followers","following_url":"https://api.github.com/users/jmmaunus/following{/other_user}","gists_url":"https://api.github.com/users/jmmaunus/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmaunus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmaunus/subscriptions","organizations_url":"https://api.github.com/users/jmmaunus/orgs","repos_url":"https://api.github.com/users/jmmaunus/repos","events_url":"https://api.github.com/users/jmmaunus/events{/privacy}","received_events_url":"https://api.github.com/users/jmmaunus/received_events","type":"User","site_admin":false},"body":"This is a fairly basic replacement for the old world renderer that would allow bigger and far more open maps while performing reasonably well even on older hardware. Instead of the Cube engine's philosophy of generating all vertex data dynamically and then sending it to the GPU each frame, vertex data (for world geometry) is now generated once and stored on the GPU in VBOs, which allows for much better performance (in theory). In practice, performance relative to the old renderer varies quite a bit, but in general, the new renderer fares better in large, open areas and on newer hardware relative to the old one. At the moment, the new renderer lacks some fairly straightforward optimisations, so there's still plenty of room for the performance to increase.\r\n\r\nHave a play around with it, see how you like it, post any questions and performance issues you come across (such as maps/areas where the old renderer performs much better). If there's any interest in incorporating this, I'll deal with the corners and implement some more performance tweaks.\r\n\r\nUse `/usenewworldrenderer (1|0) ` to toggle between the new/old renderer, play around with `/bssize n` to see how it affects performance (default 32). ","created_at":"2015-10-14T13:49:55Z","updated_at":"2015-10-14T13:49:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/assaultcube/AC/pulls/137/commits","review_comments_url":"https://api.github.com/repos/assaultcube/AC/pulls/137/comments","review_comment_url":"https://api.github.com/repos/assaultcube/AC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/assaultcube/AC/issues/137/comments","statuses_url":"https://api.github.com/repos/assaultcube/AC/statuses/baca2352f65c1863cf508ab34872a2dbd888d081","head":{"label":"jmmaunus:nwr","ref":"nwr","sha":"baca2352f65c1863cf508ab34872a2dbd888d081","user":{"login":"jmmaunus","id":7027896,"avatar_url":"https://avatars.githubusercontent.com/u/7027896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmmaunus","html_url":"https://github.com/jmmaunus","followers_url":"https://api.github.com/users/jmmaunus/followers","following_url":"https://api.github.com/users/jmmaunus/following{/other_user}","gists_url":"https://api.github.com/users/jmmaunus/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmaunus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmaunus/subscriptions","organizations_url":"https://api.github.com/users/jmmaunus/orgs","repos_url":"https://api.github.com/users/jmmaunus/repos","events_url":"https://api.github.com/users/jmmaunus/events{/privacy}","received_events_url":"https://api.github.com/users/jmmaunus/received_events","type":"User","site_admin":false},"repo":{"id":39294772,"name":"AC","full_name":"jmmaunus/AC","owner":{"login":"jmmaunus","id":7027896,"avatar_url":"https://avatars.githubusercontent.com/u/7027896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmmaunus","html_url":"https://github.com/jmmaunus","followers_url":"https://api.github.com/users/jmmaunus/followers","following_url":"https://api.github.com/users/jmmaunus/following{/other_user}","gists_url":"https://api.github.com/users/jmmaunus/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmaunus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmaunus/subscriptions","organizations_url":"https://api.github.com/users/jmmaunus/orgs","repos_url":"https://api.github.com/users/jmmaunus/repos","events_url":"https://api.github.com/users/jmmaunus/events{/privacy}","received_events_url":"https://api.github.com/users/jmmaunus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmmaunus/AC","description":"AssaultCube","fork":true,"url":"https://api.github.com/repos/jmmaunus/AC","forks_url":"https://api.github.com/repos/jmmaunus/AC/forks","keys_url":"https://api.github.com/repos/jmmaunus/AC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmmaunus/AC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmmaunus/AC/teams","hooks_url":"https://api.github.com/repos/jmmaunus/AC/hooks","issue_events_url":"https://api.github.com/repos/jmmaunus/AC/issues/events{/number}","events_url":"https://api.github.com/repos/jmmaunus/AC/events","assignees_url":"https://api.github.com/repos/jmmaunus/AC/assignees{/user}","branches_url":"https://api.github.com/repos/jmmaunus/AC/branches{/branch}","tags_url":"https://api.github.com/repos/jmmaunus/AC/tags","blobs_url":"https://api.github.com/repos/jmmaunus/AC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmmaunus/AC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmmaunus/AC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmmaunus/AC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmmaunus/AC/statuses/{sha}","languages_url":"https://api.github.com/repos/jmmaunus/AC/languages","stargazers_url":"https://api.github.com/repos/jmmaunus/AC/stargazers","contributors_url":"https://api.github.com/repos/jmmaunus/AC/contributors","subscribers_url":"https://api.github.com/repos/jmmaunus/AC/subscribers","subscription_url":"https://api.github.com/repos/jmmaunus/AC/subscription","commits_url":"https://api.github.com/repos/jmmaunus/AC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmmaunus/AC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmmaunus/AC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmmaunus/AC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmmaunus/AC/contents/{+path}","compare_url":"https://api.github.com/repos/jmmaunus/AC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmmaunus/AC/merges","archive_url":"https://api.github.com/repos/jmmaunus/AC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmmaunus/AC/downloads","issues_url":"https://api.github.com/repos/jmmaunus/AC/issues{/number}","pulls_url":"https://api.github.com/repos/jmmaunus/AC/pulls{/number}","milestones_url":"https://api.github.com/repos/jmmaunus/AC/milestones{/number}","notifications_url":"https://api.github.com/repos/jmmaunus/AC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmmaunus/AC/labels{/name}","releases_url":"https://api.github.com/repos/jmmaunus/AC/releases{/id}","created_at":"2015-07-18T10:29:50Z","updated_at":"2015-07-18T10:29:55Z","pushed_at":"2015-10-14T12:11:46Z","git_url":"git://github.com/jmmaunus/AC.git","ssh_url":"git@github.com:jmmaunus/AC.git","clone_url":"https://github.com/jmmaunus/AC.git","svn_url":"https://github.com/jmmaunus/AC","homepage":null,"size":420315,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"assaultcube:next","ref":"next","sha":"cf554261b96cc3b9498c837207424acc09a2d720","user":{"login":"assaultcube","id":5957666,"avatar_url":"https://avatars.githubusercontent.com/u/5957666?v=3","gravatar_id":"","url":"https://api.github.com/users/assaultcube","html_url":"https://github.com/assaultcube","followers_url":"https://api.github.com/users/assaultcube/followers","following_url":"https://api.github.com/users/assaultcube/following{/other_user}","gists_url":"https://api.github.com/users/assaultcube/gists{/gist_id}","starred_url":"https://api.github.com/users/assaultcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assaultcube/subscriptions","organizations_url":"https://api.github.com/users/assaultcube/orgs","repos_url":"https://api.github.com/users/assaultcube/repos","events_url":"https://api.github.com/users/assaultcube/events{/privacy}","received_events_url":"https://api.github.com/users/assaultcube/received_events","type":"Organization","site_admin":false},"repo":{"id":15102551,"name":"AC","full_name":"assaultcube/AC","owner":{"login":"assaultcube","id":5957666,"avatar_url":"https://avatars.githubusercontent.com/u/5957666?v=3","gravatar_id":"","url":"https://api.github.com/users/assaultcube","html_url":"https://github.com/assaultcube","followers_url":"https://api.github.com/users/assaultcube/followers","following_url":"https://api.github.com/users/assaultcube/following{/other_user}","gists_url":"https://api.github.com/users/assaultcube/gists{/gist_id}","starred_url":"https://api.github.com/users/assaultcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assaultcube/subscriptions","organizations_url":"https://api.github.com/users/assaultcube/orgs","repos_url":"https://api.github.com/users/assaultcube/repos","events_url":"https://api.github.com/users/assaultcube/events{/privacy}","received_events_url":"https://api.github.com/users/assaultcube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assaultcube/AC","description":"AssaultCube","fork":false,"url":"https://api.github.com/repos/assaultcube/AC","forks_url":"https://api.github.com/repos/assaultcube/AC/forks","keys_url":"https://api.github.com/repos/assaultcube/AC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assaultcube/AC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assaultcube/AC/teams","hooks_url":"https://api.github.com/repos/assaultcube/AC/hooks","issue_events_url":"https://api.github.com/repos/assaultcube/AC/issues/events{/number}","events_url":"https://api.github.com/repos/assaultcube/AC/events","assignees_url":"https://api.github.com/repos/assaultcube/AC/assignees{/user}","branches_url":"https://api.github.com/repos/assaultcube/AC/branches{/branch}","tags_url":"https://api.github.com/repos/assaultcube/AC/tags","blobs_url":"https://api.github.com/repos/assaultcube/AC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assaultcube/AC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assaultcube/AC/git/refs{/sha}","trees_url":"https://api.github.com/repos/assaultcube/AC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assaultcube/AC/statuses/{sha}","languages_url":"https://api.github.com/repos/assaultcube/AC/languages","stargazers_url":"https://api.github.com/repos/assaultcube/AC/stargazers","contributors_url":"https://api.github.com/repos/assaultcube/AC/contributors","subscribers_url":"https://api.github.com/repos/assaultcube/AC/subscribers","subscription_url":"https://api.github.com/repos/assaultcube/AC/subscription","commits_url":"https://api.github.com/repos/assaultcube/AC/commits{/sha}","git_commits_url":"https://api.github.com/repos/assaultcube/AC/git/commits{/sha}","comments_url":"https://api.github.com/repos/assaultcube/AC/comments{/number}","issue_comment_url":"https://api.github.com/repos/assaultcube/AC/issues/comments{/number}","contents_url":"https://api.github.com/repos/assaultcube/AC/contents/{+path}","compare_url":"https://api.github.com/repos/assaultcube/AC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assaultcube/AC/merges","archive_url":"https://api.github.com/repos/assaultcube/AC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assaultcube/AC/downloads","issues_url":"https://api.github.com/repos/assaultcube/AC/issues{/number}","pulls_url":"https://api.github.com/repos/assaultcube/AC/pulls{/number}","milestones_url":"https://api.github.com/repos/assaultcube/AC/milestones{/number}","notifications_url":"https://api.github.com/repos/assaultcube/AC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assaultcube/AC/labels{/name}","releases_url":"https://api.github.com/repos/assaultcube/AC/releases{/id}","created_at":"2013-12-11T09:01:48Z","updated_at":"2015-10-14T11:25:09Z","pushed_at":"2015-10-14T13:49:55Z","git_url":"git://github.com/assaultcube/AC.git","ssh_url":"git@github.com:assaultcube/AC.git","clone_url":"https://github.com/assaultcube/AC.git","svn_url":"https://github.com/assaultcube/AC","homepage":null,"size":425693,"stargazers_count":87,"watchers_count":87,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":48,"forks":58,"open_issues":48,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/assaultcube/AC/pulls/137"},"html":{"href":"https://github.com/assaultcube/AC/pull/137"},"issue":{"href":"https://api.github.com/repos/assaultcube/AC/issues/137"},"comments":{"href":"https://api.github.com/repos/assaultcube/AC/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/assaultcube/AC/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/assaultcube/AC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/assaultcube/AC/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/assaultcube/AC/statuses/baca2352f65c1863cf508ab34872a2dbd888d081"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1245,"deletions":46,"changed_files":10}}