Search found 687 matches

by kwahoo
Sun Sep 03, 2023 10:21 am
Forum: Forum po polsku
Topic: Kwadratura koła oraz uzupełnianie
Replies: 3
Views: 4981

Re: Kwadratura koła oraz uzupełnianie

Widać, że okręgi są w rzeczywistości wielokątami. W rzeczywistości nie są wielokątami. To co widzisz to tylko uproszczona reprezentacja tworzona, by wyświetlanie było wydajniejsze (karty graficzne operują na prostej geometrii, jak odcinki proste czy trójkąty). Nie ma to wpływu na dokładność wykonan...
by kwahoo
Fri Sep 01, 2023 8:16 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

OK, found it This line in commonXR.py is not compatible with my Rift in direct mode with OpenHMD and Monado. #self.swapchain_create_info.usage_flags = xr.SWAPCHAIN_USAGE_TRANSFER_DST_BIT # causes striped images self.swapchain_create_info.usage_flags = xr.SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT # wor...
by kwahoo
Thu Aug 31, 2023 5:09 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

If I would have an OK image, I noted that I could use a button to re-align the view axis (e.g. align normals to selectd face) and some means to move around in the scene. Are you planning functions for that? A keyboard or controller button? This could be done. How the face should be selected? I work...
by kwahoo
Wed Aug 30, 2023 7:59 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

* this is without that new line Did you delete pycache before testing? I learned something, it seems that Coin3D requires Compatibility Profile and some deprecated GL functions. I was trying use Core Profile, that had to cause issues. I did an attempt to not use QOpenGLWidget, and use QOffscreenSur...
by kwahoo
Thu Aug 24, 2023 11:15 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

* When I disable the XR with the "glasses" toolbar button and enable it again, I do get the following error.i tried it 2-3 times, so the output is somewhat doubled.. This should be fixed now. I tried destroy xrSpaces in a wrong place, after xrInstance and xrSession. Mirror view is somewha...
by kwahoo
Wed Aug 23, 2023 9:25 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

Btw, you might want to give the workbench logo some lighter shadow. Its hardly visible in dark mode. Ah, pixel art, will do:) Please update the WB. I did 2 things: 1) moved full loop in paintGL, but I do not call paintGL() explicitly, I just call update(). This fixed some visual issues for me, may ...
by kwahoo
Fri Aug 18, 2023 8:58 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

a way to setup single step debugging of what happens after ">>>import glfw" in the python modules? pdb maybe? Finally, to reproduce your issues I installed Xubuntu 22.04.3 on real hardware and compiled Monado from git. Both: examples and xr-workbench work without issue. But then I got som...
by kwahoo
Sun Aug 13, 2023 1:03 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

Did you compile monado, openr and OpenHMD on the vm or to the Pypthon packages install without it? I did not install any XR backend, since this is not needed for import modules. Now the really weird thing: >>> import site >>> site.getsitepackages() ['/tmp/.mount_FreeCAUMp45Y/usr/lib/python3.10/site...
by kwahoo
Sat Aug 12, 2023 12:00 am
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

>>> numpy.__version__ '1.25.1' The version does slightly differ, which is strange. I used the AppImage FreeCAD_0.21.0-2023-08-02-conda-Linux-x86_64-py310.AppImage - Trying to reproduce the issue, I installed Xubuntu 22.04.3 in Virtual Machine, installed pyopenxr using pip, and downloaded stable 0.2...
by kwahoo
Fri Aug 11, 2023 4:00 pm
Forum: Open discussion
Topic: OpenXR/OpenVR (virtual reality support), new Python workbench WiP
Replies: 136
Views: 55606

Re: OpenXR/OpenVR (virtual reality support), new Python workbench WiP

Exactly like in my case. Can you run ... and check what is imported after typing import glfw ? This GLFW-related line is my output: calling init: /home/adi/.local/lib/python3.10/site-packages/glfw/x11/libglfw.so These were the glfw-related lines in my output: calling init: /home/catman/.local/lib/p...