{"id":3306,"date":"2016-07-24T23:59:03","date_gmt":"2016-07-24T22:59:03","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=3306"},"modified":"2016-07-25T00:03:16","modified_gmt":"2016-07-24T23:03:16","slug":"p-152-virtual-world-concept-update-141-planet-sized-terrain-part-20-lods-tier-2","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-152-virtual-world-concept-update-141-planet-sized-terrain-part-20-lods-tier-2\/","title":{"rendered":"P-152: Virtual World Concept Update 141: Planet-sized Terrain: Part 20: LOD&#8217;s (Tier 2)"},"content":{"rendered":"<p>I have implemented the Tier-2 subdivision code.<\/p>\n<p>I did have to duplicate the code from Tier-1, which is messy, but I can optimise this later. I can now cull the long-distance nodes in 64-bit space, then further subdivide the terrain in 32-bit space.<\/p>\n<p>The terrain still looks quite jagged, and I need to spend some time smoothing it. The texture painter is also not working, and there are some other bugs and issues to fix as well, but I am making progress.<\/p>\n<p>The next goal will be to translate the 64-bit node position to 32-bit, to eliminate all 64-bit values from rendering completely.<\/p>\n<p>The below images are quite small and difficult to see (since I have scaled the terrain down to 10k), but these images show multiple LOD&#8217;s rendering at the same time:<\/p>\n<figure id=\"attachment_3305\" aria-describedby=\"caption-attachment-3305\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3305\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 06:08:16 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-06_08_16-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3305\" class=\"wp-caption-text\">P152_DEBUG<br \/>23\/07\/2016 , 06:08:16 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<figure id=\"attachment_3304\" aria-describedby=\"caption-attachment-3304\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3304\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 08:14:35 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-08_14_35-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3304\" class=\"wp-caption-text\">P152_DEBUG<br \/>23\/07\/2016 , 08:14:35 PM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<p>While these show the gradual increase in resolution\u00a0when moving through LOD&#8217;s:<\/p>\n<div class=\"mceTemp\"><\/div>\n<figure id=\"attachment_3301\" aria-describedby=\"caption-attachment-3301\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3301\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 05:20:36 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_36-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3301\" class=\"wp-caption-text\">P152_DEBUG<br \/>23\/07\/2016 , 05:20:36 PM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3302\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 05:20:40 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_40-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n23\/07\/2016 , 05:20:40 PM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3303\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 05:20:30 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-05_20_30-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n23\/07\/2016 , 05:20:30 PM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n<p>&nbsp;<\/p>\n<p>These images show the gradual sub<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3298\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 03:23:08 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_23_08-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n23\/07\/2016 , 03:23:08 AM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n<figure id=\"attachment_3299\" aria-describedby=\"caption-attachment-3299\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3299\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 02:49:05 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-02_49_05-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3299\" class=\"wp-caption-text\">P152_DEBUG<br \/>23\/07\/2016 , 02:49:05 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3300\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM-300x194.jpg\" alt=\"P152_DEBUG 23\/07\/2016 , 03:00:30 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-23_07_2016-03_00_30-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n23\/07\/2016 , 03:00:30 AM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have implemented the Tier-2 subdivision code. I did have to duplicate the code from Tier-1, which is messy, but I can optimise this later. I can now cull the long-distance nodes in 64-bit space, then further subdivide the terrain in 32-bit space. The terrain still looks quite jagged, and I need to spend some [&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,17,10,16],"tags":[],"class_list":["post-3306","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-software-engines","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\/3306"}],"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=3306"}],"version-history":[{"count":8,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3306\/revisions"}],"predecessor-version":[{"id":3314,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3306\/revisions\/3314"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=3306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=3306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=3306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}