{"id":3078,"date":"2016-06-10T02:15:40","date_gmt":"2016-06-10T01:15:40","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=3078"},"modified":"2016-06-10T02:15:40","modified_gmt":"2016-06-10T01:15:40","slug":"p-171-oculus-riftvirtual-reality-demo-part-3-oculus-rift-setup","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-171-oculus-riftvirtual-reality-demo-part-3-oculus-rift-setup\/","title":{"rendered":"P-171: Oculus Rift\/Virtual Reality Demo Part 3: Oculus Rift Setup"},"content":{"rendered":"<p>I have made some significant progress in getting the Oculus Rift CV1 to work with T3D.<br \/>\nAs stated previously, I am using the Dx11\/Open VR build from <a href=\"https:\/\/github.com\/jamesu\/Torque3D\/commits\/dx11_openvr\">HERE<\/a>. I am also using the latest OpenVR SDK, and the example project given in my recent blog post as well.<\/p>\n<p>The first thing that caught me was that it is necessary to install and configure (go through the on screen tutorials) for both the Oculus Runtime App and the SteamVr\/Open VR app. I had not done this, and it was the reason why head tracking was not working in T3D until I fixed it.<\/p>\n<p>I am also encountering some issues which I believe are related to DirectX 11. These occur somewhat intermittently. I have noticed an issue caused by running T3D in fullscreen mode (This is not, apparently, necessary for the T3D project to work properly on the rift) and sometimes I get an error connected to the &#8220;VR compositor&#8221;.<\/p>\n<p>Restarting the Oculus processes (there are several of them) and the Steam VR process can solve most of these errors, but I have noticed that some still remain. I am still working on this, and it is likely that the Dx11\/Open Vr codebase will not be fully stable until T3D 3.9 is released.<\/p>\n<p>However, I now have the Open VR demo project working, with head tracking. I now simply need to enable gamepad support, and then I can begin copying the changes from this project to my own Virtual Environment Project (p171).<\/p>\n<figure id=\"attachment_3056\" aria-describedby=\"caption-attachment-3056\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3056\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM-300x234.jpg\" alt=\"D3DTest 08\/06\/2016 , 11:03:27 PM Torque 3D MIT - D3DTest\" width=\"300\" height=\"234\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM-300x234.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM-768x599.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM-1024x799.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-08_06_2016-11_03_27-PM.jpg 1538w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3056\" class=\"wp-caption-text\">D3DTest<br \/>08\/06\/2016 , 11:03:27 PM<br \/>Torque 3D MIT &#8211; D3DTest<\/figcaption><\/figure>\n<figure id=\"attachment_3057\" aria-describedby=\"caption-attachment-3057\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3057\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM-300x238.jpg\" alt=\"D3DTest 09\/06\/2016 , 04:51:17 AM Torque 3D MIT - D3DTest\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM-768x609.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM-1024x812.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_51_17-AM.jpg 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3057\" class=\"wp-caption-text\">D3DTest<br \/>09\/06\/2016 , 04:51:17 AM<br \/>Torque 3D MIT &#8211; D3DTest<\/figcaption><\/figure>\n<figure id=\"attachment_3058\" aria-describedby=\"caption-attachment-3058\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3058\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM-300x238.jpg\" alt=\"D3DTest 09\/06\/2016 , 04:50:07 AM Torque 3D MIT - D3DTest\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM-768x609.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM-1024x812.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/06\/PhoenixGameDevelopment-09_06_2016-04_50_07-AM.jpg 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3058\" class=\"wp-caption-text\">D3DTest<br \/>09\/06\/2016 , 04:50:07 AM<br \/>Torque 3D MIT &#8211; D3DTest<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have made some significant progress in getting the Oculus Rift CV1 to work with T3D. As stated previously, I am using the Dx11\/Open VR build from HERE. I am also using the latest OpenVR SDK, and the example project given in my recent blog post as well. The first thing that caught me was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12],"tags":[],"class_list":["post-3078","post","type-post","status-publish","format-standard","hentry","category-software-and-games","category-tutorials","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3078"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=3078"}],"version-history":[{"count":2,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3078\/revisions"}],"predecessor-version":[{"id":3080,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3078\/revisions\/3080"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=3078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=3078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=3078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}