{"id":2847,"date":"2013-07-18T00:38:42","date_gmt":"2013-07-17T14:38:42","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=2847"},"modified":"2013-07-18T00:52:34","modified_gmt":"2013-07-17T14:52:34","slug":"into-the-rift","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2013\/07\/18\/into-the-rift\/","title":{"rendered":"Into the Rift"},"content":{"rendered":"

\"Screen<\/a><\/p>\n

I’ve taken a little time off from working on MMORPG Tycoon 2 over the past few days, and have been playing with an Oculus Rift<\/a> VR headset dev kit, adding native support for it to the VectorStorm engine<\/a>.<\/p>\n

It’s not in the VectorStorm trunk yet, but I’ve put it into a special “rift” branch which is available on GitHub if anyone wants to try it out or just check out the code.\u00a0 If a VectorStorm game compiled using that branch detects that a rift headset is connected, it automatically switches into a Rift-compatible rendering mode, like the one visible in this screenshot.<\/p>\n

Note that this doesn’t mean that all VectorStorm games suddenly become VR-compatible;\u00a0 the only thing that VectorStorm does automatically is to convert the rendering into a stereo view, counter-distorted to compensate for the lenses in the VR headset.\u00a0 It’s still the responsibility of individual games to notice the presence of a headset and begin using its orientation to move their game cameras (where appropriate).<\/p>\n

Also note that VectorStorm only does this automatic rendering switch for the main render;\u00a0 renders to separate render targets are unaffected.\u00a0 (So reflections, shadows, etc. continue to work as they always have)<\/p>\n

As my testbed for this, I’ve been converting Atop<\/a> over to be a fully VR-compatible game.\u00a0 There’s something wonderful about playing what is essentially “The Sentinel” in full immersive VR.<\/p>\n

Changes to Atop so far, apart from the obvious, are:<\/p>\n

    \n
  1. When in VR, the transition from one position to another has been slowed to about half its previous speed.\u00a0 (The transition was a little uncomfortable when viewing in VR, rather than on a flat screen).<\/li>\n
  2. Dramatically slowed down the rotation of the Sentinel;\u00a0 playing in VR takes a lot more time, I’m finding, so I’ve slowed down the threat to try to compensate.<\/li>\n
  3. When in VR, the mouse no longer can make you look up and down.\u00a0 It can still be used to turn left and right.<\/li>\n
  4. In VR, the user retains the ability to look around while transferring between robots (the mouse interface restricts this)<\/li>\n<\/ol>\n

    Big challenges to overcome:<\/p>\n

      \n
    1. The HMD is much less precise than a mouse.\u00a0 This makes it even harder to select a particular square on the ground than it was before.\u00a0 I definitely need to change the way you create and absorb objects to remove the requirement of looking at the ground.\u00a0 Plus, bending your neck forward to peer at the floor all the time can get a bit uncomfortable.\u00a0 Going to need to adapt things so you can remove objects or build on top of them by looking at their side.\u00a0 Probably need to still verify that the floor is visible — just not make people actually look down at it.<\/li>\n<\/ol>\n

      I’m really not wanting to spend too much time on this, since I’m right in the middle of some neat stuff with MMORPG Tycoon 2.\u00a0 But I had the opportunity to play with this hardware, and figured it’d be good fun.\u00a0 It’s very promising hardware.\u00a0 But I’m expecting to release this probably sometime this weekend.\u00a0 It’ll probably replace the current Atop build, since it plays just like the original release, if there’s no Rift hardware present.<\/p>\n

      But no, MMORPG Tycoon 2 will not play using VR.\u00a0 I’ve run it that way just to gawk at the scenery, but it simply has too much need of 2D GUI for it to work in this sort of format.\u00a0 (Maybe I can drop it in as an easter egg in a particular game mode, or something like that.\u00a0 But at the moment, I don’t see how the game could be playable with that display)<\/p>\n","protected":false},"excerpt":{"rendered":"

      I’ve taken a little time off from working on MMORPG Tycoon 2 over the past few days, and have been playing with an Oculus Rift VR headset dev kit, adding native support for it to the VectorStorm engine. It’s not in the VectorStorm trunk yet, but I’ve put it into a special “rift” branch which…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[39,4,33,3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-JV","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2847"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=2847"}],"version-history":[{"count":4,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2847\/revisions"}],"predecessor-version":[{"id":2850,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2847\/revisions\/2850"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}