{"id":2761,"date":"2013-02-16T21:49:03","date_gmt":"2013-02-16T11:49:03","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=2761"},"modified":"2013-02-16T21:49:03","modified_gmt":"2013-02-16T11:49:03","slug":"making-a-continent","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2013\/02\/16\/making-a-continent\/","title":{"rendered":"Making a continent"},"content":{"rendered":"

\"Screen<\/a>Here’s the first island continent built by the new MMO geometry generation code.\u00a0 This is a medium-sized continent (which, honestly, I expect is approximately the size that most people would actually want to use in a free-play game of MMORPG Tycoon 2.\u00a0 It has a bit more ground space than one of the main continents in WoW.<\/p>\n

I’m pleased to have the water shaping algorithms working for the new “freeform regions” system.\u00a0 In the original MMORPG Tycoon, regions were all slightly distored squares;\u00a0 each one had exactly four neighbors, and they were indexed like the squares on a grid.\u00a0 In v2, I’m now using irregular regions;\u00a0 I’ve seen regions with seven or eight borders, and it’s all working properly now.<\/p>\n

I also wrote code to get rid of the mountain boundaries where ground meets the ocean.\u00a0 There’s still a lot of work to be done, though;\u00a0 the continent is still basically flat (at least, at this scale);\u00a0 I need to decide how I want to deal with that, whether to use a system based on perlin noise, or whether I want to do something smarter.\u00a0 I also want to set a “base terrain type” and lighting data separately for different regions, so this will start to look a bit more patchwork, as happens in MMORPG minimaps.<\/p>\n

Finally, as part of that, I really need to generate beaches around the coastlines.<\/p>\n

And there’s a bug which is generating small pillars near the corners of sea regions.\u00a0 So you get these weird little spikes of rock out in the middle of the sea for no apparent reason — usually these are about 5-10 meters wide.<\/p>\n

But I’ve put all this together while on sleeping pills, so I call it a big success.\u00a0 Will fix the bugs in the morning, once the sleeping pills have worn off.\u00a0 :)<\/p>\n","protected":false},"excerpt":{"rendered":"

Here’s the first island continent built by the new MMO geometry generation code.\u00a0 This is a medium-sized continent (which, honestly, I expect is approximately the size that most people would actually want to use in a free-play game of MMORPG Tycoon 2.\u00a0 It has a bit more ground space than one of the main continents…<\/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\/po9WK-Ix","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2761"}],"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=2761"}],"version-history":[{"count":2,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2761\/revisions"}],"predecessor-version":[{"id":2764,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2761\/revisions\/2764"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}