-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
no window rendered running HelloOpenXRGL sample #1031
Comments
It has been a long time since I wrote this sample, and I don't really use OpenGL nowadays. Could you elaborate point (1)? Why is it a good idea to add this desired swapchain format? Regarding point (2), that is desired! I never wanted to create a window; I just want to render on the headset. But... creating an OpenGL context without creating a window is surprisingly hard, so the easiest way to do this, is by creating a small invisible window. |
The new format is one of the supported ones with SteamVr on linux, the others in the list arent. |
Do you know the full list of formats supported by SteamVR? |
There are 5: |
As for the second point: No its not desired. If a window is programmed to show and render into it better be. Its not even desired to be able to create VR apps that have no window at all. There would be no way for the OS to determine the current window to send input events to. |
Ok, then I think that indeed
Well... I'm the one who wrote created this part of the sample, and it definitely was my intention to create this dummy window. Creating VR apps without window is my preferred option, and is exactly what
The OS doesn't need to send input events: when the player is in VR, there is usually no-one that uses the keyboard or mouse anyway. All VR-related input will be handled by the OpenXR runtime, and sent to the OpenXR input system. |
Version
3.3.5
Platform
Linux x64
JDK
GraalVM 17
Module
GLFW, OpenXR, OpenGL
Bug description
I tried running the HelloOpenXRGL on linux with LWJGL 3.3.5 but there are 2 problems with it.
Im running Gentoo Linux with GLFW 3.4
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered: