{"id":276,"date":"2019-03-10T15:00:45","date_gmt":"2019-03-10T19:00:45","guid":{"rendered":"http:\/\/ninecrows.com\/pandamallet\/?p=276"},"modified":"2019-03-11T16:24:45","modified_gmt":"2019-03-11T20:24:45","slug":"unity-stars-and-textures","status":"publish","type":"post","link":"https:\/\/ninecrows.com\/pandamallet\/2019\/03\/10\/unity-stars-and-textures\/","title":{"rendered":"Unity Stars and Textures"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignleft is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/UnityIcon.jpg\" alt=\"\" class=\"wp-image-188\" width=\"49\" height=\"49\" srcset=\"https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/UnityIcon.jpg 257w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/UnityIcon-150x150.jpg 150w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/UnityIcon-100x100.jpg 100w\" sizes=\"(max-width: 49px) 100vw, 49px\" \/><\/figure><\/div>\n\n\n\n<p>This weekend, Malcolm and Sam came over for a day to move our various Unity investigations forward. <\/p>\n\n\n\n<p>Malcolm made some very nice pieces of furniture and architectural bits. I think the end result has much more feeling of place and I&#8217;m moving forward from there.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"496\" src=\"http:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/Cluster-1-1024x496.png\" alt=\"\" class=\"wp-image-280\" srcset=\"https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/Cluster-1-1024x496.png 1024w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/Cluster-1-300x145.png 300w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/Cluster-1-768x372.png 768w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/Cluster-1.png 1370w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>The Cluster Control Room<\/figcaption><\/figure>\n\n\n\n<p>Sam was working on his own project and looking at getting his motion working properly on Daydream with the Daydream controller.<\/p>\n\n\n\n<p>I added some interactivity to my prototype. Attaching a &#8216;stick&#8217; to the controller and hanging a small sphere with a collider attached makes it straightforward to select objects by touching them with the stick. It took a surprisingly long time to find the appropriate code to implement haptic feedback when a star is touched. I&#8217;m still looking at adding a short positional sound queue on touch as well.<\/p>\n\n\n\n<p>The code lives on my github account <a href=\"https:\/\/github.com\/ninecrows\/Cluster-1\">here<\/a>. This supports Vive only (I think) at the moment. It certainly supports Vive best. At some point I&#8217;ll likely look at making this work with DayDream and flat screens.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"519\" src=\"http:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/TextureToy-1-1024x519.png\" alt=\"\" class=\"wp-image-279\" srcset=\"https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/TextureToy-1-1024x519.png 1024w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/TextureToy-1-300x152.png 300w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/TextureToy-1-768x389.png 768w, https:\/\/ninecrows.com\/pandamallet\/wp-content\/uploads\/2019\/03\/TextureToy-1.png 1300w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Some Sample Textured Spheres&#8230;<\/figcaption><\/figure>\n\n\n\n<p>I grabbed some textures from around the house and yard and slapped them on some random spheres and capsules. Those are <a href=\"https:\/\/github.com\/ninecrows\/TexturePlayground-1\">here <\/a>and there are separate branches for DayDream, Vive and flat screen (master). The Vive version looks much better than the DayDream version and I expect that is to be expected.<\/p>\n\n\n\n<p>I spent some more time chopping up texture tiles. Not a lot of time to clean them up though. I really need to better understand the impacts of the various extra texture functions that are available. I think there are some options missing from the default material such as displacement maps that can genuinely move vertices. Lots to learn along the way and getting there with the Vive is pretty cool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This weekend, Malcolm and Sam came over for a day to move our various Unity investigations forward. Malcolm made some very nice pieces of furniture and architectural bits. I think the end result has much more feeling of place and I&#8217;m moving forward from there. Sam was working on his own project and looking at &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ninecrows.com\/pandamallet\/2019\/03\/10\/unity-stars-and-textures\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Unity Stars and Textures&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,19,16],"tags":[],"_links":{"self":[{"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/posts\/276"}],"collection":[{"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":4,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/posts\/276\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/posts\/276\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/categories?post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ninecrows.com\/pandamallet\/wp-json\/wp\/v2\/tags?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}