-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better Linux and OSX Support #215
Comments
Cool, thanks! Is there a barrier other than the time it would take to porting the RenderManager Unity plug-in to Linux or OSX? |
Well the port of the current plugin to Linux and OSX requires OpenGL support and it doesn't work for now. I don't know why, maybe a difficulty on the Unity side. However, the In very short term, I think we can implement two feature to the current Unity SDK
Edit: I have updated my fork and added the distortion correction if RenderManager is not available. I have to test it first. |
OpenGL support is working on Windows in extended mode. Direct mode won't work on OSX or Linux anyway, right? For OSX and Linux support, the platform-specific context sharing code needs to be ported. Specifically, this call to wglShareLists is only available on Windows: This splits to another branch for OSX support, and I just pushed my most recent commits which haven't been tested. @demonixis I will take a look at the PR |
Hi, Yes the plugin works well on Windows (Direct mode is good and as you said, OpenGL works in extended mode), you've made a nice work on it. But as I said, i've implemented the OSVR SDK into my own engine so I learnt a lot about OSVR recently. I don't know but some methods fails to call from native code, you can see that in my last PR too. I've also opened an issus on the Managed-OSVR repository OSVR/Managed-OSVR#41 and talked a bit about that with @JeroMiya . Some parts of MonoGame-OSVR could be merged into Managed-OSVR (json descriptor parsing by example), because with a finished binding of RenderManager, we can avoid the native plugin and have a better support for other OSs. Why do I have opened this issue? Because I'm a game developer for my own and for a company and in both cases, we use OSVR. It's impossible to sell a game or an application on Linux and Mac because it doesn't work as expected. And what do we want on those OSs?
All these features are supported on Linux and Mac with any GPU. So yes it's just a binding to finish. |
Hi,
For now the Linux and OSX support is pretty bad but it can improved with two things
I've implemented the OSVR SDK in my game engine and of course, RenderManager is not yet supported. BUT I was able to get distortion correction by porting your post process. Please use it when RenderManager is not available.
For the second point, we can open a new window on the location of the HMD using this API.
I can help to do that, what do you think about? Adding this will bring a better support of OSVR on Linux and it's required.
Edit: You can find a working version of the post process here.
The text was updated successfully, but these errors were encountered: