SteamVR > 综合讨论 > 主题详情
SM Sith Lord 2014年3月7日上午7:43
Accessing Oculus features from Source SDK Base 2013 MP
This is my first time seeking answers for a Oculus Rift related dev question, so I hope I found the right place to post this...

I am using the -vr support that the Source SDK Base 2013 Multiplayer has. It works great, but there are a couple of issues I need to address with how the Source engine implements the Oculus SDK.

First of all, when ever I bring up a VGUI panel that has mouse input, the entire render area of the screen turns black. If I disable mouse input on the panel, the render area no longer has this issue. This is only an issue if -vr is active, otherwise it all works as expected.

Short video of the issue: http://youtu.be/khm5cJYb8KU?t=3m55s

Second, my program is like a 3D desktop and it launches other programs. Some of these other programs are VR games with Oculus head tracking support. The Oculus is only able to send head tracking information to a single program, so to allow for other VR games to function properly when launched I need to disable the head tracking features of my Source mod when the player launches his stuff.

Since I am new to using the VR support that Valve built into the Source SDK Base 2013, I do not know how to accomplish this from my C++ code. Can anybody give me some tips on how I would go about disabling/enabling head tracking support from within my Source engine mod?

Thanks for taking the time to read about my problems.
正在显示第 1 - 1 条,共 1 条留言
< >
SM Sith Lord 2014年3月8日下午9:35 
I have solved all of these problems except for releasing the VR device so that other programs can begin to use it.
最后由 SM Sith Lord 编辑于; 2014年3月8日下午9:35
正在显示第 1 - 1 条,共 1 条留言
< >
每页显示数: 15 30 50
发帖日期: 2014年3月7日上午7:43
帖子数: 1