cmbruns / pyopenxr

Unofficial python bindings for OpenXR access to VR and AR devices
Apache License 2.0
103 stars 8 forks source link

Debug gl_example.py #41

Closed cmbruns closed 2 years ago

cmbruns commented 2 years ago

It's not working, but it's getting close.

cmbruns commented 2 years ago

Plus it's Windows specific. It should be generalized for linux.

https://github.com/cmbruns/pyopenxr/blob/main/examples/gl_example.py is based on https://github.com/jherico/OpenXR-Samples/blob/master/src/examples/sdl2_gl_single_file_example_c.cpp

jherico commented 2 years ago

42 fixes it and at least gets it rendering to a headset on my system. The source example could use some work I think because I don't think it properly follows the expected flow of events based on session state.

cmbruns commented 2 years ago

Fixed by #42