{"id":2363,"date":"2022-05-10T12:43:04","date_gmt":"2022-05-10T16:43:04","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/?p=2363"},"modified":"2022-05-10T12:43:54","modified_gmt":"2022-05-10T16:43:54","slug":"hunan-finaldocumentation","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/hunan\/05\/10\/hunan-finaldocumentation\/","title":{"rendered":"Hunan-FinalDocumentation"},"content":{"rendered":"<p>The previous posts already contains all the documentation I have for the final project so I\u2019ll just copy them over here.<\/p>\n<p><strong>PART 1<\/strong><\/p>\n<p>A unity walkaround with procedurally generated terrain of (medieval?) Pittsburgh. A simulator of ancient Pittsburgh, if you will.<\/p>\n<p><iframe loading=\"lazy\" title=\"Unity Gaia 2 URP Test Demo 1\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/xs0meBKcY3U?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>An example of heightmap data used as terrain information. This information is available for almost the entirety of the US and many parts of the world at: <a href=\"https:\/\/heightmap.skydark.pl\/\">https:\/\/heightmap.skydark.pl\/<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2158\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4.png\" alt=\"\" width=\"1081\" height=\"1081\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4.png 1081w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4-480x480.png 480w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4-1024x1024.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/heightmap-4-768x768.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2159\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352.jpg\" alt=\"\" width=\"1920\" height=\"907\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352-640x302.jpg 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352-1024x484.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352-768x363.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352-1536x726.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193314-w1920h907-x615y93z-929r352-1200x567.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/>[Looking at point park from a little bit to the west of (what is now) Grandview Overlook]<\/p>\n<p>For reference:<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2161\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown.png\" alt=\"\" width=\"1393\" height=\"659\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown.png 1393w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-640x303.png 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1024x484.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-768x363.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1200x568.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2160\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89.jpg\" alt=\"\" width=\"1920\" height=\"907\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89-640x302.jpg 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89-1024x484.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89-768x363.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89-1536x726.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Grab-20220419193744-w1920h907-x462y28z675r89-1200x567.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/>[Looking at Schendly from CMU]<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2163\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1.png\" alt=\"\" width=\"1912\" height=\"898\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1.png 1912w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1-640x301.png 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1-1024x481.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1-768x361.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1-1536x721.png 1536w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/unknown-1-1200x564.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/>[Random houses on Mt. Washington (south shore of PGH)]<\/p>\n<p><strong>PART 2<\/strong><\/p>\n<p>I was working on procedural terrain generation for the first half of this project but because I found a really good package for that, there&#8217;s very little left for me to do apart from learning how to use that package. Since my goal was to learn unity, I decided to make something that requires more scripting. So I made a 3D in-game builder (the best way to explain it would be the combination of Kerbal Space Program&#8217;s user interaction combined with the mechanics of Minecraft.)\u00a0 I got to explore scripts, material, audio sources, UI, character controller, physics ray casting, box collider, and mesh renderer. The environment is the HDRP sample scene in Unity. It only took 150 lines of code for the builder and another 50 for a very naive character movement controller, which is quite amazing.<\/p>\n<p><iframe loading=\"lazy\" title=\"Gliese Builder v0.3\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/b9NabZKbpfw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The previous posts already contains all the documentation I have for the final project so I\u2019ll just copy them over here. PART 1 A unity walkaround with procedurally generated terrain of (medieval?) Pittsburgh. A simulator of ancient Pittsburgh, if you will. An example of heightmap data used as terrain information. This information is available for &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/hunan\/05\/10\/hunan-finaldocumentation\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hunan-FinalDocumentation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[34],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/posts\/2363"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/comments?post=2363"}],"version-history":[{"count":2,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/posts\/2363\/revisions"}],"predecessor-version":[{"id":2365,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/posts\/2363\/revisions\/2365"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/media?parent=2363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/categories?post=2363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/tags?post=2363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}