{"id":760,"date":"2009-09-15T22:39:56","date_gmt":"2009-09-15T12:39:56","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=760"},"modified":"2009-09-15T22:56:10","modified_gmt":"2009-09-15T12:56:10","slug":"online-and-offline","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2009\/09\/15\/online-and-offline\/","title":{"rendered":"Online and Offline"},"content":{"rendered":"

\"OfflineOnline\"<\/a>So my web server apparently decided to die in a rather spectacular way about two hours ago; \u00a0I only just realised it now, as I came to post this update. \u00a0Apologies to those who may not have been able to connect during that time! \u00a0I’ll be watching closely to make sure it remains okay.<\/p>\n

On the topic of offline, the screenshot here is a composite of an offline and an online view of an MMORPG, in my current development codebase. \u00a0The new things in this screenshot are the fog (mentioned yesterday), and the new offline terrain rendering, which is slowly moving in a more blocky, almost Darwinia<\/a>-inspired direction. \u00a0I’m not sure whether I’ll really use that look; \u00a0it’s difficult to tune the appearance of your game when it looks different when offline than when online, so maybe I oughtn’t. \u00a0More thought will be required.<\/p>\n

There’s also the in-progress top-left information box. \u00a0Right now it’s still using a lot of old UI tech, but I’ve got a number of key indicators on it and functional, now. \u00a0Though obviously, it needs to be prettied up an awful lot. \u00a0And right now, it’s crowding the left toolbar. \u00a0But that’s okay; \u00a0that left toolbar is going to be moving to the bottom of the screen, shortly, so it won’t look so cluttered up there for much longer.<\/p>\n

I also fixed a pretty major performance problem in the VectorStorm engine, today. \u00a0While flying around in “noclip” mode, I noticed that despite my having code in place to keep the game from trying to draw terrain that’s under water, it seemed to be doing so in many places. \u00a0In fact, as I flew around the world, more and more often I’d find large blocks of sea floor being drawn. \u00a0It took me an hour or two, but I eventually tracked down the culprit; \u00a0VectorStorm’s OpenGL code had a minor bug in it which caused it to submit more data to the video card than was requested by the game. \u00a0The biggest place where this was causing problems was in the streaming of terrain data, where I re-used several buffers which could drastically change size from one piece of terrain to another. \u00a0Net result from fixing this bug is that on my (rather fast) computer, my average FPS rose from about 100fps to about 160fps. \u00a0I haven’t yet tested it on my slower test computers where the game was struggling to hold 60fps, but the way I see it, telling the GPU to draw fewer illegal triangles can only help performance!<\/p>\n","protected":false},"excerpt":{"rendered":"

So my web server apparently decided to die in a rather spectacular way about two hours ago; \u00a0I only just realised it now, as I came to post this update. \u00a0Apologies to those who may not have been able to connect during that time! \u00a0I’ll be watching closely to make sure it remains okay. On…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-cg","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/760"}],"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=760"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/760\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}