{"id":1407,"date":"2019-02-15T20:05:27","date_gmt":"2019-02-15T20:05:27","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=1407"},"modified":"2019-02-15T20:05:27","modified_gmt":"2019-02-15T20:05:27","slug":"visual-acuity-week-1","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2019\/02\/15\/visual-acuity-week-1\/","title":{"rendered":"Visual Acuity, Week 1"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270.jpeg\"><img loading=\"lazy\" class=\"size-medium wp-image-1408 aligncenter\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270-300x300.jpeg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270-300x300.jpeg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270-150x150.jpeg 150w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270-768x768.jpeg 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2019\/02\/week2image-e1550260898270-1024x1024.jpeg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>Progress<\/h2>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">This week I started building the unity project for the Landolt C test, as well as continuing to learn about optometry in an effort to better understand the underlying principles of what I&#8217;m doing. I started Tuesday by looking more into some of the studies mentioned in Varadharajan (which talks about how to asses and build a new logMAR chart). While it&#8217;s not directly pertinent to the Landolt C format, there are small details about assessing visual acuity tests that will prove useful for validation of the test once complete. Also I&#8217;m gaining a better sense of how to navigate the subject of optometry as I continue looking for things more related to Landolt C.<br \/>\nThe progress on the test itself is going smoothly. Tuesday I used Photoshop to produce images for Landolt C. and E tests, then imported them into unity and got them pasted onto a viewing plane. For now the structure of the test in unity remains fairly simple. A single camera points at a viewing plane with the texture on it.<\/p>\n<p>By the end of my time Friday, I completed the functionality of the test for the on screen viewing environment, essentially reproducing a basic version of the FrACT application. Unlike the FrACT application I&#8217;m using a light grey C on an all black background, as this theoretically eliminates the issue of lighting the scene.<\/p>\n<p>As it stands now, the test does the following:<\/p>\n<ul>\n<li>Presents a Landolt C to the user<\/li>\n<li>Reads a directional input<\/li>\n<li>Records the actual rotational position of the C<\/li>\n<li>Records the user&#8217;s choice for rotational position of the C<\/li>\n<li>Rotates, and Repositions the C for the next trial<\/li>\n<\/ul>\n<h2>Struggles<\/h2>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">I spent a decent amount of time fighting with the low resolution C texture for the viewing plane. I was getting some strange pixels appearing around the edge of the C even after adjusting the usual suspects for fixing that (max texture size, bilinear -&gt; point, shader type). The issue ended up being that the image I was using as the texture, being based on a 5 x 5 grid was a non power of two image. Changing the power of two texture setting to &#8216;none&#8217; in unity fixed the pixel noise around the C.<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">Aside from some short code debugging the only other thing I&#8217;ve noticed is that at great distances, the C object starts to render in odd ways on a pixel by pixel basis. Without anti-aliasing, something in the rendering pipeline is just deciding to change the dimensions of the C. This will definitely affect testing results, as the C becomes easier to read in certain positions at great distance than others. For now I have no clue how to solve this, I&#8217;m hoping that the distances actually needed to measure visual acuity and the resolution of the HMD&#8217;s will make this a non issue.<\/p>\n<p>&nbsp;<\/p>\n<h2>Next Week<\/h2>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">For the next week I first plan to get the test working in the virtual environment on some headset. I&#8217;m most comfortable with the HTC system so I&#8217;ll probably use that. Once I&#8217;ve gotten the code adjusted for input from the Vive controller, I&#8217;ll start on the next form of the test.<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">While the current test uses a plane to display the C object, and the user is able to move their head, we also wanted to try a version where the Landolt C is &#8216;pasted&#8217; directly onto the HMD display itself. This eliminates head motion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Progress This week I started building the unity project for the Landolt C test, as well as continuing to learn about optometry in an effort to better understand the underlying principles of what I&#8217;m doing. I started Tuesday by looking &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2019\/02\/15\/visual-acuity-week-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":199,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1407"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/users\/199"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":1,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1407\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/1407\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}