{"id":466,"date":"2011-07-07T11:58:41","date_gmt":"2011-07-07T18:58:41","guid":{"rendered":"http:\/\/www.ramblemuse.com\/rmtp\/?p=466"},"modified":"2011-07-07T17:14:37","modified_gmt":"2011-07-08T00:14:37","slug":"just-the-terrain-maam","status":"publish","type":"post","link":"https:\/\/www.ramblemuse.com\/rmtp\/2011\/07\/07\/just-the-terrain-maam\/","title":{"rendered":"Just the Terrain, Ma&#8217;am"},"content":{"rendered":"<p>I&#8217;ve been playing with uploading simulator (sim) terrain from Second Life and displaying it with Python and <a href=\"http:\/\/matplotlib.sourceforge.net\/\" rel=\"external\">Matplotlib<\/a>. The figure displays two snapshots of a sim taken a year apart. The major difference is that a deep hole has been &ldquo;nuked&rdquo; into the ridge near the northwest corner to make room to create caverns, caves, dungeons, and the like in the right-hand figure.<\/p>\n<p><a href=\"http:\/\/www.ramblemuse.com\/rmtp\/wp-content\/uploads\/2011\/07\/topo_sim1_480.png\" style=\"margin-left:10px\"><img decoding=\"async\" src=\"http:\/\/www.ramblemuse.com\/rmtp\/wp-content\/uploads\/2011\/07\/topo_sim1_480.png\" alt=\"The sim terrain at two times\" title=\"topo_sim1_480\" \/><\/a><\/p>\n<p>The basic terrain is of two ridges with a river valley between them. The western ridge angles slightly from NW to SE, leaving room for a beach in the SW corner. The eastern ridge eases into a flat plateau in the south. In the figure, just the terrain is shown (hence the post title), without the standard water level at 20 meters. I used the Matplotlib &lsquo;copper&rsquo; color-table for both plots. The data for the left figure came from a Second Life <a href=\"http:\/\/wiki.secondlife.com\/wiki\/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files\" rel=\"external\">raw file<\/a>. The data for the right figure was obtained by scripting a surveyor prim to upload data via HTTP to a PHP script. Both plots are of a full sim of 256m by 256m at 2m by 2m resolution.<\/p>\n<p>Given all that technical detail, the result captures an almost Rubenesque sense of the terrain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been playing with uploading simulator (sim) terrain from Second Life and displaying it with Python and Matplotlib. The figure displays two snapshots of a sim taken a year apart. The major difference is that a deep hole has been &ldquo;nuked&rdquo; into the ridge near the northwest corner to make room to create caverns, caves, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[115,116,117],"class_list":["post-466","post","type-post","status-publish","format-standard","hentry","category-virtual-worlds","tag-second-life","tag-terrain","tag-topography"],"_links":{"self":[{"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/posts\/466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/comments?post=466"}],"version-history":[{"count":27,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/posts\/466\/revisions\/497"}],"wp:attachment":[{"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ramblemuse.com\/rmtp\/wp-json\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}