{"id":3093,"date":"2015-08-30T20:17:00","date_gmt":"2015-08-30T20:17:00","guid":{"rendered":"http:\/\/www.spellcasterstudios.com\/?p=3093"},"modified":"2015-08-29T13:21:14","modified_gmt":"2015-08-29T13:21:14","slug":"cache-issue-fixed","status":"publish","type":"post","link":"https:\/\/www.spellcasterstudios.com\/?p=3093","title":{"rendered":"Cache issue fixed"},"content":{"rendered":"<p align=\"justify\">So the bug I found yesterday was cache related\u2026 The planet (including the flow map) was being regenerated when I went back to the ship, but the associated areas weren\u2019t, so they were still drawing the old data\u2026<\/p>\n<p align=\"justify\">Took me a bit to figure out, because I couldn\u2019t do any debugging in debug mode, because the water courses are not generated in debug mode (it takes too long, and I don\u2019t want to optimize it just because of debug mode and STL).<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.spellcasterstudios.com\/wp-content\/uploads\/2015\/08\/screen687.jpg\" class=\"thickbox\"><img loading=\"lazy\" decoding=\"async\" title=\"screen687\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"screen687\" src=\"http:\/\/www.spellcasterstudios.com\/wp-content\/uploads\/2015\/08\/screen687_thumb.jpg\" width=\"830\" height=\"482\" \/><\/a><\/p>\n<p align=\"justify\">Now, I found another smallish issue (not a bug, a feature). Because of the occlusion stuff I\u2019ve added (so we can see the player through walls), it displays the player\u2019s legs when he\u2019s in water (which I don\u2019t want to).<\/p>\n<p align=\"justify\">The easy way to fix it would be to not render the water in the normal\/depth buffer, but that makes me loose the decals I have when raindrops and the player moves\u2026 So I need to find something smarter to get around this\u2026<\/p>\n<p align=\"justify\"><em>Now listening to \u201cVine\u201d by \u201cThe Man-Eating Tree\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So the bug I found yesterday was cache related\u2026 The planet (including the flow map) was being regenerated when I went back to the ship, but the associated areas weren\u2019t, so they were still drawing the old data\u2026 Took me a bit to figure out, because I couldn\u2019t do any debugging in debug mode, because [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[274,3,147,8],"tags":[],"class_list":["post-3093","post","type-post","status-publish","format-standard","hentry","category-bugs","category-development","category-chrome-hunter","category-technology"],"_links":{"self":[{"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/posts\/3093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3093"}],"version-history":[{"count":1,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/posts\/3093\/revisions"}],"predecessor-version":[{"id":3094,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=\/wp\/v2\/posts\/3093\/revisions\/3094"}],"wp:attachment":[{"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spellcasterstudios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}