{"id":41,"date":"2014-05-24T17:46:43","date_gmt":"2014-05-24T17:46:43","guid":{"rendered":"http:\/\/dieaugenderwelt.com\/blog\/?p=41"},"modified":"2014-05-24T17:46:43","modified_gmt":"2014-05-24T17:46:43","slug":"the-road-to-vertical-slice-part-4-of-5","status":"publish","type":"post","link":"https:\/\/neonstruct.com\/blog\/?p=41","title":{"rendered":"The Road to Vertical Slice, Part 4 of 5"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/imgur.com\/8OzZisG\"><img title=\"Hosted by imgur.com\" src=\"http:\/\/i.imgur.com\/8OzZisG.png\" alt=\"\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">As I approach the final week of the vertical slice milestone period, I am feeling more confident about my schedule. I still have a lot of art and sound to create next week, but the third level is mostly complete and the last few systems I intended to include in this milestone have been implemented.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/imgur.com\/uKBVEIB\"><img title=\"Hosted by imgur.com\" src=\"http:\/\/i.imgur.com\/uKBVEIB.png\" alt=\"\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">I took an unexpected detour into new post-processing effects while trying to establish a mood for this third level. In contrast to the soft neon glow of the previous level, this map needed a murky, grimy feel. I added a film grain effect and a simple chromatic aberration that separates the RGB channels around the edges of the screen. My first pass at the film grain was a multiplicative filter, but that caused brighter parts of the screen to show the most grain, with darker regions showing almost no change. The effect I wanted was that of high ISO (or film speed), where most of the grain is visible in the poorly lit parts of an image. I switched to a subtractive filter, which pulls out proportionally more value from darker colors than lighter ones, and it gave me exactly the look I desired.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/imgur.com\/WzUldA6\"><img title=\"Hosted by imgur.com\" src=\"http:\/\/i.imgur.com\/WzUldA6.gif\" alt=\"\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">A few weeks ago, I had disabled dynamic voxel lighting because it was getting very expensive to update. There were noticeable hitches in the framerate whenever a door was opened or shut. (This was not a concern in <em>Eldritch<\/em>, because it had fewer lights with smaller falloff radii; but <em>Die Augen<\/em> utilizes light and shadow for its core game mechanics, so it necessarily has a darker ambient term and many more shadow-casting lights.)<\/p>\n<p style=\"text-align: justify;\">Last night, it occurred to me that I could make a very simple optimization to reduce the amount of voxels I needed to relight when occlusion changed. The performance improvement was incredible\u2014in the scene shown above, the time to recompute lighting when opening the door dropped by a factor of almost 50.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/imgur.com\/LgUPusj\"><img title=\"Hosted by imgur.com\" src=\"http:\/\/i.imgur.com\/LgUPusj.png\" alt=\"\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Finally, I implemented a couple of less exciting but quite important systems this week. Shown above is the signage system, which displays a short string when looking at an object in the world. On <em>BioShock<\/em>, we called these &#8220;art subtitles&#8221;, and they are a simple way to localize art assets with text baked into them. For <em>Die Augen<\/em>, they are also a low cost way to label rooms and provide directions.<\/p>\n<p style=\"text-align: justify;\">Shown below is the new objectives screen. It is only a player-facing model, not a formal game system\u2014under the hood, quests are implemented in an <em>ad hoc<\/em> fashion, and their scripts notify the objectives screen to add, remove, or update objectives.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/imgur.com\/P46ZqTx\"><img title=\"Hosted by imgur.com\" src=\"http:\/\/i.imgur.com\/P46ZqTx.png\" alt=\"\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">My next week will be spent decorating and polishing these levels, writing and rewriting dialogue to provide clear player direction, and adding a bit more <a href=\"http:\/\/youtu.be\/Fy0aCDmgnxg\" target=\"_blank\">&#8220;juice&#8221;<\/a> to hacking, takedowns, and the like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I approach the final week of the vertical slice milestone period, I am feeling more confident about my schedule. I still have a lot of art and sound to create next week, but the third level is mostly complete and the last few systems I intended to include in this milestone have been implemented. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/41"}],"collection":[{"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":0,"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neonstruct.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}