Forum Discussion
guygodin
11 years agoProtege
SharpOVR - SharpDX/.NET wrapper
I've been maintaining a .NET wrapper for the Oculus SDK for quite some time now. It is based on SharpDX and is what I use in Virtual Desktop.
I just updated it to the 0.6 SDK and have it available on NuGet here.
I've also updated the sample project to get you started.
Happy coding!
I just updated it to the 0.6 SDK and have it available on NuGet here.
I've also updated the sample project to get you started.
Happy coding!
9 Replies
- TijsDelvauxExplorerThis is awesome! Exactly what I was searching for.
I have a question. (This is all new to me, so I don't know a whole lot about it)
I'm working on a project (for school) in which I try to combine your Virtual Desktop and the Leap Motion.To be able to point to the screen, I need to know what portion of the screen I'm looking at. I've worked out the necessary math, but I need to know the rotation of oculus rift, relative to the virtual screen's orientation. That is the Rift's yaw/y-rotation. Do you know how I can obtain this value?- Found the answer to this one. (In case someone ever needs it, you can get enough info from the "finalForward" vector)
Maybe more important: do you think it is even possible to have two applications running at the same time (that'd be Virtual Desktop and the application I'm working on) asking data from the Rift?
Thanks - CzyzuHonored GuestYeah! Finally something good !
I have a question. Is there a possibility to input video into oculus rift with SharpOVR? I want to put video from IP camera, by HTTP protocol. I wonder if this can work ... :?
Thanks for your time! - cyberealityGrand ChampionGood stuff.
- guygodinProtege
"TijsDelvaux" wrote:
Maybe more important: do you think it is even possible to have two applications running at the same time (that'd be Virtual Desktop and the application I'm working on) asking data from the Rift?
Thanks
Yes, multiple apps can call GetEyePos but only one app will be able to make a successfull call to SubmitFrames."Czyzu" wrote:
Yeah! Finally something good !
I have a question. Is there a possibility to input video into oculus rift with SharpOVR? I want to put video from IP camera, by HTTP protocol. I wonder if this can work ... :?
Thanks for your time!
Yes, you can create a dynamic texture for example which will be updated from the camera and then rendered on a plane in VR. Not a trivial task but certainly possible. - TijsDelvauxExplorer
"guygodin" wrote:
Yes, you can create a dynamic texture for example which will be updated from the camera and then rendered on a plane in VR. Not a trivial task but certainly possible.
Awesome! Thank you very much! - CzyzuHonored GuestCan you help me and tell me which Lib i should use to combine IP camera getting MJPEG video from HTTP Protocol with SharpOVR lib? Im searching in the SharpDX documentation but i haven't find something useful
EDIT: okay i'm reading now about Texture2D, but should i do this on texture 3D?
http://sharpdx.org/documentation/api/t- ... -texture2d - CzyzuHonored GuestHello!!
It's me again!!
I'm wondering how i can read the parameters from the sensors, can you help me writing them into console?
Cheers!
EDIT:
I finally solved my problem reading params from sensors, if someone will need the code, write here ! - TijsDelvauxExplorer
"Czyzu" wrote:
Hello!!
It's me again!!
I'm wondering how i can read the parameters from the sensors, can you help me writing them into console?
Cheers!
EDIT:
I finally solved my problem reading params from sensors, if someone will need the code, write here !
If it's still possible, could you post the code?
Thanks in advance! - etickHonored GuestAny update on SharpOVR?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 years ago
- 13 years ago
- 13 years ago
- 13 years ago
- 13 years ago