SteamVR > 一般討論 > 主題細節
SM Sith Lord 03 月 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 03 月 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; 03 月 8 日 @ 下午 9 時 35 分
顯示 1-1,共 1 則回應
< >
每頁: 15 30 50