{"id":617,"date":"2013-04-28T16:25:25","date_gmt":"2013-04-28T22:25:25","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/ds501\/?p=617"},"modified":"2013-04-29T22:49:08","modified_gmt":"2013-04-30T04:49:08","slug":"the-jasper-week-4-update","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/ds501\/2013\/04\/28\/the-jasper-week-4-update\/","title":{"rendered":"The Jasper: Week 4 Update"},"content":{"rendered":"<p>Hi!<\/p>\n<p>This week we started to bake lighting and did more FBX about ghosts when they were caught! We had\u00a0some questions how to export animations of explosions into FBX. But we also have B plan if it does not work. We added lighting effects in 3D Studio Max in order to create scaring and creepy atmosphere in our hotel.<\/p>\n<p>Bake Lighting of 2F<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting001.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-619\" title=\"bakelighting001\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting001.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting001.jpg 640w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting001-300x225.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting001-400x300.jpg 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting002.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-620\" title=\"bakelighting002\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting002.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting002.jpg 640w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting002-300x225.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting002-400x300.jpg 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Bake lighting of 1F<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting003.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-621\" title=\"bakelighting003\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting003.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting003.jpg 640w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting003-300x225.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting003-400x300.jpg 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting004.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-622\" title=\"bakelighting004\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting004.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting004.jpg 640w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting004-300x225.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting004-400x300.jpg 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Bake Lighting of Landscape<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting005.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-623\" title=\"bakelighting005\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting005.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting005.jpg 640w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting005-300x225.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting005-400x300.jpg 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>FBX animation<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting006.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-624\" title=\"bakelighting006\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting006-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>\u00a0Link: <a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0014.avi\">001~4<\/a>\u00a0<a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0015.avi\">001~5<\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting007.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-625\" title=\"bakelighting007\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting007-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>\u00a0Link: <a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0024.avi\">002~4<\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting008.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-626\" title=\"bakelighting008\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting008-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>\u00a0Link: <a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0034.avi\">003~4<\/a>\u00a0<a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0035.avi\">003~5<\/a><\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting009.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-627\" title=\"bakelighting009\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/bakelighting009-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>\u00a0 Link: <a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/0053.avi\">005~3<\/a><\/p>\n<p><strong>Update from Hasti:<\/strong><\/p>\n<p>I finished the landscape and outside of the Hotel.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-1.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-639\" title=\"Landscape 1\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-1.png\" alt=\"\" width=\"836\" height=\"388\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-1.png 836w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-1-300x139.png 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-1-500x232.png 500w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-641\" title=\"Landscape 2\" src=\"http:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21.png\" alt=\"\" width=\"1181\" height=\"631\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21.png 1181w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21-300x160.png 300w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21-1024x547.png 1024w, https:\/\/blogs.discovery.wisc.edu\/ds501\/files\/2013\/04\/Landscape-21-500x267.png 500w\" sizes=\"(max-width: 1181px) 100vw, 1181px\" \/><\/a><\/p>\n<p>After merging the whole models (restaurant, lobby, rooms and landscape), the final file became too big because of\u00a0<span style=\"color: #000000; font-family: arial, helvetica, sans-serif;\">using so many textures and material after adding the details. This d<\/span><span style=\"color: #333333; font-family: Arial, Verdana, sans-serif;\">ata was stored in the SketchUp file and caused the slow\u00a0<\/span><span style=\"color: #333333; font-family: Arial, Verdana, sans-serif;\">work loading. So,\u00a0<\/span>we purged our file as following steps to delete all unnecessary textures to make it run faster:<\/p>\n<div>\n<ol>\n<li>Click &#8220;Window&#8221; &gt; &#8220;Model Info.&#8221; The Model Info dialog box will open.<\/li>\n<li>Click &#8220;Statistics&#8221; &gt; &#8220;Purge Unused.&#8221;<br \/>\n(<a href=\"https:\/\/sites.google.com\/site\/sketchupsage\/faster\/purge\">https:\/\/sites.google.com\/site\/sketchupsage\/faster\/purge<\/a>)<\/li>\n<\/ol>\n<p><strong>Updates from Jerry H:<\/strong><\/p>\n<p>We have a solid framework as far as game engine and base classes to create various ghosts and monsters. The\u00a0<em>Paranormal<\/em> class, which serves as the base class for all other specialty creepy things, is now ready to interact, showing the paranormal in three states: &#8220;hidden&#8221; (as a static object), &#8220;discovered&#8221; (static, or animation through either programming or FBX), and &#8220;captured&#8221; (simply disappear, or animation through programming\/FBX). It&#8217;s very easy to extend the class and inject different programmatic animations; I&#8217;ve created a &#8220;ghost&#8221; class that hovers during the discovered state.<\/p>\n<p>The model as a whole is really really big\u2014upward of 189Mb\u2014and has been causing Sketchup to crash. Natalie has helped me create a simplified version of the hotel, in which rooms are represented by simple blocks, so that we can export it to get the coordinates. Once all the OSG files with lighting baked in are ready, I&#8217;ll try to put the hotel back together.<\/p>\n<p>By Saturday I was trying to display text in the CAVE but I&#8217;ve no luck. I can attach a mesh (e.g. a sphere) to a fixed position in front of the user0 entity, so that the user will always see it, but I just can&#8217;t get the text to show. Help??<\/p>\n<p>Simple FBX files work fairly well in the CAVE. Jerry C and I (haha, Jerry x 2) discovered that FBX coming out of 3DS sometimes may get turned in a funny angle; this is due to a &#8220;Y-up&#8221; or &#8220;Z-up&#8221; option when exporting. I&#8217;ve extended Kevin&#8217;s Animation class to allow easy pre-scaling and pre-rotation when loading an animation file; feel free to grab it if you need.<\/p>\n<p>As for the game interaction, originally I really hope to work with Wii mote and Kinect, but practically we might just not be able to get there because of time. However, if any of the other teams have had success in connecting with the Wii fit board, please let me know\u2014the library to call Wii board and Wii mote are the same, and maybe I can bounce off your code.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi! This week we started to bake lighting and did more FBX about ghosts when they were caught! We had\u00a0some questions how to export animations of explosions into FBX. But we also have B plan if it does not work. &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/ds501\/2013\/04\/28\/the-jasper-week-4-update\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/posts\/617"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":9,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/posts\/617\/revisions\/637"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/ds501\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}