{"id":1147,"date":"2020-07-06T15:41:28","date_gmt":"2020-07-06T20:41:28","guid":{"rendered":"https:\/\/keithcchan.com\/?p=1147"},"modified":"2020-10-05T18:46:11","modified_gmt":"2020-10-05T23:46:11","slug":"anvropomotron-1-1-update-notes","status":"publish","type":"post","link":"https:\/\/www.keithcchan.com\/wordpress\/2020\/07\/anvropomotron-1-1-update-notes.html","title":{"rendered":"AnVRopomotron 1.1 Update Notes"},"content":{"rendered":"<p>We&#8217;re skipping straight to 1.1 with a lot of improvements.<\/p>\n<ul>\n<li>More tarsier! Poses 2 and 3 show stages of a leap and pose 4 shows the result of a successful pounce.\u00c2\u00a0Tarsier 1 also updated with a longer tail.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/tarsiers.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1148\" src=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/tarsiers-450x312.png\" alt=\"tarsiers\" width=\"450\" height=\"312\" srcset=\"https:\/\/www.keithcchan.com\/wp-content\/uploads\/tarsiers-450x312.png 450w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/tarsiers-150x104.png 150w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/tarsiers-1024x710.png 1024w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/tarsiers.png 1788w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<ul>\n<li>A small new wing has opened up in the Scale Model Hall, called the Burial Chamber. Learn about Jamestown and one of its founders, Captain Gabriel Archer. View a life size model of his grave.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/burial-chamber.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1149\" src=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/burial-chamber-450x353.png\" alt=\"burial chamber\" width=\"450\" height=\"353\" srcset=\"https:\/\/www.keithcchan.com\/wp-content\/uploads\/burial-chamber-450x353.png 450w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/burial-chamber-150x118.png 150w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/burial-chamber-1024x804.png 1024w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<ul>\n<li>Remodeling the building as a single model in Blender using <a href=\"https:\/\/docs.blender.org\/manual\/en\/latest\/addons\/add_mesh\/archimesh.html\">Archimesh<\/a> instead of as many separate walls and planes in A-Frame. The benefit should be faster loading paired with more impressive looks since the building is drawn using one instruction (draw call) for the whole thing instead of a separate instruction for each individual wall.\n<div id=\"attachment_1150\" style=\"width: 260px\" class=\"wp-caption alignright\"><img aria-describedby=\"caption-attachment-1150\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1150\" src=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/new-450x340.png\" alt=\"new\" width=\"250\" height=\"189\" srcset=\"https:\/\/www.keithcchan.com\/wp-content\/uploads\/new-450x340.png 450w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/new-150x113.png 150w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/new-1024x773.png 1024w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/new.png 1800w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><p id=\"caption-attachment-1150\" class=\"wp-caption-text\">{ Newly remodeled. }<\/p><\/div>\n<div id=\"attachment_1151\" style=\"width: 260px\" class=\"wp-caption alignright\"><img aria-describedby=\"caption-attachment-1151\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1151\" src=\"https:\/\/keithcchan.com\/wordpress\/wp-content\/uploads\/old-450x340.png\" alt=\"old\" width=\"250\" height=\"189\" srcset=\"https:\/\/www.keithcchan.com\/wp-content\/uploads\/old-450x340.png 450w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/old-150x113.png 150w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/old-1024x773.png 1024w, https:\/\/www.keithcchan.com\/wp-content\/uploads\/old.png 1800w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><p id=\"caption-attachment-1151\" class=\"wp-caption-text\">{ Old view. }<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>Also the Blender model has light fixtures in the ceiling so I can bake the shadows they cast to texture and present them in VR without a performance loss. In fact even with the new room this version has a<br \/>\n1\/3rd performance gain.<\/li>\n<li>Moved scale models around to open up the room. The same space now has a lot more empty areas for future models.<\/li>\n<li>Rewrote how occluding zones are processed for efficiency.<\/li>\n<li>Unrelated to the above, I rewrote a new version of the old way of occluding zones. I tried to go extra fancy with complicated zones made in Blender that covered as much ground as possible. Aaand&#8230; it doesn&#8217;t work. For example, I had a U-shaped zone but being in the empty part in the center between the arms didn&#8217;t register as leaving it. Why???? Well it turned out my collisions are based on AABB colliders, you know, <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Games\/Techniques\/3D_collision_detection\">Axis-Aligned Bounding\u00c2\u00a0<strong>Boxes<\/strong><\/a>. The complex zones were being treated as rectangles instead of the shapes I gave them. No getting around that but I can work with this limitation now that I know it&#8217;s there. I made box zones as before, but rearranged the room so there are more walls blocking lines of sight for better zones. This works!<\/li>\n<li>It turns out I never fully optimized the centerpiece model so it was being drawn with 9 draw calls. I tweaked the model so now it is drawn with 2 draw calls and the file lost another megabyte.<\/li>\n<li>Redid Height Chart as a texture to drop draw calls from around 30 to 1. Rearranged heights and added the tall <em>Australopithecus afarensis<\/em> Chewie.<\/li>\n<li>Moved text around to look nice.<\/li>\n<\/ul>\n<p>See the <a href=\"https:\/\/keithcchan.com\/professional\/anvropomotron-patch-notes-archive\">previous updates<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re skipping straight to 1.1 with a lot of improvements. More tarsier! Poses 2 and 3 show stages of a leap and pose 4 shows the result of a successful pounce.\u00c2\u00a0Tarsier 1 also updated with a longer tail. A small new wing has opened up in the Scale Model Hall,&#8230; <a href=\"https:\/\/www.keithcchan.com\/wordpress\/2020\/07\/anvropomotron-1-1-update-notes.html\" class=\"readmore\">Read more<span class=\"screen-reader-text\">&#8220;AnVRopomotron 1.1 Update Notes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[20],"tags":[202,201],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/posts\/1147"}],"collection":[{"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1147"}],"version-history":[{"count":0,"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/posts\/1147\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.keithcchan.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}