{"id":1675,"date":"2015-10-04T23:57:49","date_gmt":"2015-10-04T22:57:49","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=1675"},"modified":"2015-10-09T20:56:04","modified_gmt":"2015-10-09T19:56:04","slug":"p-152-virtual-world-concept-update-52-chunked-levels-of-detail-using-quad-trees-part-20","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-152-virtual-world-concept-update-52-chunked-levels-of-detail-using-quad-trees-part-20\/","title":{"rendered":"P-152: Virtual World Concept Update 52: Chunked Levels of Detail Using Quad Trees Part 20"},"content":{"rendered":"<p>I have not spent a huge amount of time on this project this week, due to the work I have been doing on P136. However I have done some research into the final terrain paging and chunked level of detail issues that I have been having, and on the terrain resolution and performance.<\/p>\n<p>There does seem to be a flaw in the algorithm that I am using for the terrain system. I believed originally that increasing the resolution of the terrain would fix the paging issues, by increasing the density of the terrain (and therefore reducing the size of the nodes).<\/p>\n<p>This is because the issue is, I believe, caused by the node boundaries not being included in the subdivisions. I am only including the closest node in the search at the highest levels, so if the player is standing near a node boundary, the nodes across that boundary will not be subdivided.<\/p>\n<p>To fix this, I will have to abandon the idea of searching though only the closest node at the highest tiers, and adopt a distance based system for all nodes, similiar to what I do for the lowest nodes.<\/p>\n<p>If a node is within a certain distance of the player, it will be subdivided, regardless of how many nodes from that tier are already being subdivided. I think this concept should work, but it could take some time to implement and test it.<\/p>\n<p>In addition to the issues with terrain paging, I have noticed problem with performance \u00a0at higher terrain resolution levels. As well as taking a long time to generate the terrain, the framerate is quite low, even at moderate detail levels. It is possible that this issue will be fixed when I fix the terrain paging issues, however.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have not spent a huge amount of time on this project this week, due to the work I have been doing on P136. However I have done some research into the final terrain paging and chunked level of detail issues that I have been having, and on the terrain resolution and performance. There does [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10,11],"tags":[],"class_list":["post-1675","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1675"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=1675"}],"version-history":[{"count":4,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1675\/revisions"}],"predecessor-version":[{"id":1702,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1675\/revisions\/1702"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=1675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=1675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=1675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}