{"id":554,"date":"2009-06-10T23:44:57","date_gmt":"2009-06-10T13:44:57","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=554"},"modified":"2009-06-10T23:44:57","modified_gmt":"2009-06-10T13:44:57","slug":"today","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2009\/06\/10\/today\/","title":{"rendered":"Today"},"content":{"rendered":"

\"moreshag\"<\/a>A couple of things to talk about today. \u00a0First, I’ve finally put in some frustum culling functionality. \u00a0Basically, this is some maths to try to determine what objects are vaguely in front of the camera, so that we don’t spend GPU time drawing things that turn out to be behind the camera. \u00a0 With four square kilometres of terrain being drawn, anything I can avoid drawing is going to help speed things up! \u00a0(Actually in the above shot, we’re sending less than two square kilometers of terrain to the GPU to be drawn; \u00a0the rest has been determined to be outside of view)<\/p>\n

Second, as you may notice in today’s screenshot, I found a little bug in the terrain drawing which was causing the \u00a0“shag” effect to vanish from north-facing and south-facing slopes. \u00a0I also fixed a bug which was sometimes causing the “shag” to draw in a subtly incorrect shade. \u00a0Finally, its length now changes based upon the surface. \u00a0I think it looks even better now; \u00a0I’m quite happy with the effect.<\/p>\n","protected":false},"excerpt":{"rendered":"

A couple of things to talk about today. \u00a0First, I’ve finally put in some frustum culling functionality. \u00a0Basically, this is some maths to try to determine what objects are vaguely in front of the camera, so that we don’t spend GPU time drawing things that turn out to be behind the camera. \u00a0 With four…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/so9WK-today","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/554"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=554"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/554\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}