{"id":1807,"date":"2015-11-01T23:55:50","date_gmt":"2015-11-01T23:55:50","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=1807"},"modified":"2015-11-02T04:07:22","modified_gmt":"2015-11-02T04:07:22","slug":"p-152-virtual-world-concept-update-61-chunked-levels-of-detail-using-quad-trees-part-29","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-152-virtual-world-concept-update-61-chunked-levels-of-detail-using-quad-trees-part-29\/","title":{"rendered":"P-152: Virtual World Concept Update 61: Chunked Levels of Detail Using Quad Trees Part 29"},"content":{"rendered":"<p>Unfortunately, I have not solved the quad rendering issue, as I had hoped. I am not certain how exactly to solve this problem.<\/p>\n<p>The code changes that I implemented worked for low resolutions of the spherical terrain, but produced the same pattern of gaps when I increased the resolution.<\/p>\n<p>I had assumed that the problem was with the creation of the points for the spherical terrain. Upon investigating this, I discovered that these points seem to be correct.<\/p>\n<p>I plotted the points in gnuplot (one or two faces at at time) and, as the below graphics show, there they seem to be correctly lining up, with no seaming.<\/p>\n<p>I have found several errors\u00a0in my implementation of the complex algorithms underpinning the spherical terrain, and I have corrected these. This hasn&#8217;t fixed the issues, but it has made my code more efficient, and should make debugging much easier.<\/p>\n<p>I believe the issues must have something to do with the fact that I am trying to render faces in quads (4 points) rather than tris (3 points), since the terrain system seems to work ok with the previous system, which used tris.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment172-Oct.-27-23.36.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1778\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment172-Oct.-27-23.36-274x300.jpg\" alt=\"PhoenixGameDevelopment172 Oct. 27 23.36\" width=\"274\" height=\"300\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment172-Oct.-27-23.36-274x300.jpg 274w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment172-Oct.-27-23.36-937x1024.jpg 937w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment172-Oct.-27-23.36.jpg 966w\" sizes=\"(max-width: 274px) 100vw, 274px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment173-Oct.-27-23.36.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1784\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment173-Oct.-27-23.36-274x300.jpg\" alt=\"PhoenixGameDevelopment173 Oct. 27 23.36\" width=\"274\" height=\"300\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment173-Oct.-27-23.36-274x300.jpg 274w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment173-Oct.-27-23.36-937x1024.jpg 937w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment173-Oct.-27-23.36.jpg 966w\" sizes=\"(max-width: 274px) 100vw, 274px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment171-Oct.-27-23.27.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1779\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment171-Oct.-27-23.27-274x300.jpg\" alt=\"PhoenixGameDevelopment171 Oct. 27 23.27\" width=\"274\" height=\"300\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment171-Oct.-27-23.27-274x300.jpg 274w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment171-Oct.-27-23.27-937x1024.jpg 937w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment171-Oct.-27-23.27.jpg 966w\" sizes=\"(max-width: 274px) 100vw, 274px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment169-Oct.-27-23.26.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1780\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment169-Oct.-27-23.26-300x164.jpg\" alt=\"PhoenixGameDevelopment169 Oct. 27 23.26\" width=\"300\" height=\"164\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment169-Oct.-27-23.26-300x164.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment169-Oct.-27-23.26-1024x559.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment169-Oct.-27-23.26.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment166-Oct.-27-23.26.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1781\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment166-Oct.-27-23.26-300x164.jpg\" alt=\"PhoenixGameDevelopment166 Oct. 27 23.26\" width=\"300\" height=\"164\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment166-Oct.-27-23.26-300x164.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment166-Oct.-27-23.26-1024x559.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment166-Oct.-27-23.26.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment164-Oct.-27-23.25.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1782\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment164-Oct.-27-23.25-300x164.jpg\" alt=\"PhoenixGameDevelopment164 Oct. 27 23.25\" width=\"300\" height=\"164\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment164-Oct.-27-23.25-300x164.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment164-Oct.-27-23.25-1024x559.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment164-Oct.-27-23.25.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment163-Oct.-27-23.23.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1783\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment163-Oct.-27-23.23-300x164.jpg\" alt=\"PhoenixGameDevelopment163 Oct. 27 23.23\" width=\"300\" height=\"164\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment163-Oct.-27-23.23-300x164.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment163-Oct.-27-23.23-1024x559.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment163-Oct.-27-23.23.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unfortunately, I have not solved the quad rendering issue, as I had hoped. I am not certain how exactly to solve this problem. The code changes that I implemented worked for low resolutions of the spherical terrain, but produced the same pattern of gaps when I increased the resolution. I had assumed that the problem [&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-1807","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\/1807"}],"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=1807"}],"version-history":[{"count":6,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1807\/revisions"}],"predecessor-version":[{"id":1819,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1807\/revisions\/1819"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=1807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=1807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=1807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}