{"id":36,"date":"2012-09-08T23:49:58","date_gmt":"2012-09-08T23:49:58","guid":{"rendered":"http:\/\/www.moron-o-tron.com\/?page_id=36"},"modified":"2012-10-03T23:02:15","modified_gmt":"2012-10-03T23:02:15","slug":"terrain-engine","status":"publish","type":"page","link":"http:\/\/www.moron-o-tron.com\/?page_id=36","title":{"rendered":"Terrain Engine"},"content":{"rendered":"<p>This is an application I&#8217;m putting together to test various methods of rendering a volumetric terrain. \u00a0Think along the lines of \u00a0<a href=\"http:\/\/minecraft.net\">Minecraft<\/a>,\u00a0<a href=\"http:\/\/www.sauropodstudio.com\/\">Castle Story<\/a>, and of course <a href=\"http:\/\/www.bay12games.com\/dwarves\/\">Dwarf Fortress<\/a>. \u00a0There are a few primary goals for this project:<\/p>\n<ul>\n<li>The terrain representation must make it visually apparent what the underlying volume data contains. \u00a0That is, the mesh for the terrain shouldn&#8217;t lead you to believe the corresponding voxel data contains resources (dirt, stone, whatever) when it really\u00a0contains\u00a0air instead. \u00a0That means the surface needs to maintain a tight fit to the underlying data.<\/li>\n<li>Easy updates to the voxel data.<\/li>\n<li>Updates to the voxel data should be quickly represented by the rendered mesh. \u00a0Digging mines, building walls &#8211; that type of thing.<\/li>\n<li>Support first person (Minecraft -like) and third person (ala Castle Story) views as well as orthographic planning views. \u00a0The idea is to make an overhead view that cuts away everything between the camera and some plane &#8211; like cutting away everything above a certain elevation.<\/li>\n<li>Try to get away from the sharp edged, cubic look of Minecraft. \u00a0I&#8217;d like the top surfaces, at least, to have a smooth flow to them. \u00a0In opposition to that it should be ensured that excavations, cliff faces, and the like maintain sharp edges.<\/li>\n<li>Efficient collision and path finding.<\/li>\n<li>A decent terrain generation algorithm. \u00a0I&#8217;m not currently planning an infinite landscape at this point &#8212; the gameplay ideas I have so far should fit nicely within a pre-defined area of terrain.<\/li>\n<\/ul>\n<p>Once I get all (or most) of these items implemented to a reasonable state, I&#8217;ll start work on an actual game with it. \u00a0I hope. \u00a0Probably. \u00a0At some point.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an application I&#8217;m putting together to test various methods of rendering a volumetric terrain. \u00a0Think along the lines of \u00a0Minecraft,\u00a0Castle Story, and of course Dwarf Fortress. \u00a0There are a few primary goals for this project: The terrain representation must make it visually apparent what the underlying volume data contains. \u00a0That is, the mesh [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-36","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/pages\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":5,"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":43,"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=\/wp\/v2\/pages\/36\/revisions\/43"}],"wp:attachment":[{"href":"http:\/\/www.moron-o-tron.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}