{"id":2748,"date":"2013-02-10T14:51:51","date_gmt":"2013-02-10T04:51:51","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=2748"},"modified":"2013-02-10T15:05:11","modified_gmt":"2013-02-10T05:05:11","slug":"zoomed","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2013\/02\/10\/zoomed\/","title":{"rendered":"Zoomed"},"content":{"rendered":"

\"Screen<\/a>Update on the previous post.<\/p>\n

This is a view of (almost) a full game map, the size of World of Warcraft’s Kalimdor and Azeroth smashed together.\u00a0 The camera is about 10 kilometers up from the ground, here.\u00a0 My AI test area is in one of the zones visible at the bottom left corner (but, relatively speaking, is so small that its buildings are not visible in this screenshot).\u00a0 The base terrain repetition problems I mentioned in my last post are even more starkly obvious, here, with the same little sandy area repeating in a very obvious grid-like pattern.<\/p>\n

This view is a 1\/64 quality map, compared against what you see in all previous screenshots of MMORPG Tycoon 2.\u00a0 That is, this map uses one vertex for every 64 which you’d see in other screenshots.\u00a0 Which means that I can draw each zone using far less data from this view, than I do when zoomed in closely.<\/p>\n

The big problem with this approach is that my process of building these zones requires taking a full-resolution copy of map data, for the terrain mesh builder to work from.\u00a0 And copying these huge chunks of map data around takes a surprising amount of time.\u00a0 To make this behave acceptably, I’m going to need to make the game understand how to copy map data more efficiently.<\/p>\n

Then I’ll need to set up MT2 to maintain a 1\/64, a 1\/16, and a 1\/4 scale map in addition to the normal full-scale map, and to switch rendering between those maps based upon how far back we’ve zoomed.<\/p>\n

Another issue I’ve run into is that from this far away, the z-buffer precision is very low, and I get a lot of bad clipping problems between water and ground (when water is visible).\u00a0 There are some tricks I can use to get around that;\u00a0 I’ll look into those once the rest of this stuff is dealt with.<\/p>\n

While the map looks ugly right now, I think this is actually quite a promising result.\u00a0 Looking forward to really filling this out!<\/p>\n","protected":false},"excerpt":{"rendered":"

Update on the previous post. This is a view of (almost) a full game map, the size of World of Warcraft’s Kalimdor and Azeroth smashed together.\u00a0 The camera is about 10 kilometers up from the ground, here.\u00a0 My AI test area is in one of the zones visible at the bottom left corner (but, relatively…<\/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-zoomed","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2748"}],"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=2748"}],"version-history":[{"count":3,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2748\/revisions"}],"predecessor-version":[{"id":2752,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2748\/revisions\/2752"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}