{"id":551,"date":"2014-10-17T22:10:01","date_gmt":"2014-10-17T22:10:01","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=551"},"modified":"2015-04-13T16:20:58","modified_gmt":"2015-04-13T16:20:58","slug":"ipd-and-fov-in-the-official-oculus-sample","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/10\/17\/ipd-and-fov-in-the-official-oculus-sample\/","title":{"rendered":"IPD and FOV in the Official Oculus Sample"},"content":{"rendered":"<p>Here&#8217;s a some screenshots of\u00a0OculusWorldDemo, showing\u00a0a bit of how the post-render, pre-warp shaders interact with FOV and IPD &#8212; and the larger system that the functions I&#8217;ve been hijacking are meant to be a part of.<\/p>\n<p>(Note:\u00a0the demo was targeting the\u00a0DK1)<\/p>\n<p>The defaults:<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-557\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2.jpg\" alt=\"defaults\" width=\"1098\" height=\"617\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2.jpg 1098w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2-300x168.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2-1024x575.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/defaults2-500x280.jpg 500w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/a><\/p>\n<p>With &#8220;zero IPD&#8221; toggled:<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-553\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD.jpg\" alt=\"zero IPD\" width=\"1098\" height=\"621\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD.jpg 1098w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD-300x169.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD-1024x579.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/zero-IPD-500x282.jpg 500w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/a><\/p>\n<p>Max FOV at 45.4 degrees (can&#8217;t go lower than\u00a020, which is similar):<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-554\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees.jpg\" alt=\"max FOV 45.4 degrees\" width=\"1098\" height=\"617\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees.jpg 1098w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees-300x168.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees-1024x575.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-45.4-degrees-500x280.jpg 500w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/a><\/p>\n<p>Max FOV at 130 degrees (it goes higher, but you see no change):<\/p>\n<p><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-555\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees.jpg\" alt=\"max FOV 130 degrees\" width=\"1102\" height=\"617\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees.jpg 1102w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees-300x167.jpg 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees-1024x573.jpg 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/10\/max-FOV-130-degrees-500x279.jpg 500w\" sizes=\"(max-width: 1102px) 100vw, 1102px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>These are just the things easily exposed in the demo&#8217;s menu; they don&#8217;t do exactly what we&#8217;d want to test.<\/p>\n<p>&#8220;Zero IPD&#8221; is described as:<\/p>\n<pre> \/\/ ForceZeroIpd does three things:\r\n \/\/ 1) Sets FOV to maximum symmetrical FOV based on both eyes\r\n \/\/ 2) Sets eye ViewAdjust values to 0.0 (effective IPD == 0)\r\n \/\/ 3) Uses only the Left texture for rendering.<\/pre>\n<p>So that&#8217;s about what we&#8217;d expect to see.<\/p>\n<p>Max FOV is used similarly to the clamping function mentioned in earlier posts, and is an FovPort;\u00a0it looks here that\u00a0FovPorts may have more viewport to them, than FOV.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a some screenshots of\u00a0OculusWorldDemo, showing\u00a0a bit of how the post-render, pre-warp shaders interact with FOV and IPD &#8212; and the larger system that the functions I&#8217;ve been hijacking are meant to be a part of. (Note:\u00a0the demo was targeting &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/10\/17\/ipd-and-fov-in-the-official-oculus-sample\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":89,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[32,3],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/551"}],"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\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":3,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/551\/revisions"}],"predecessor-version":[{"id":560,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/551\/revisions\/560"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}