OpenXR/OpenVR (virtual reality support)

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
realthunder
Posts: 1810
Joined: Tue Jan 03, 2017 10:55 am

Re: OpenXR/OpenVR (virtual reality support)

Post by realthunder » Sat Sep 12, 2020 9:09 am

kwahoo wrote:
Sat Sep 12, 2020 7:20 am
Do you mean mixed reality? Because in VR room scale locomotion does work for a while. That's why my test project is a simple room Fcstd Video

There is not collision detection, but I fell it would be more distracting than useful.
Not really, I just mean to have a room with better graphics.
Try Assembly3 (latest version 0.11) along with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
T33
Posts: 11
Joined: Sun Oct 11, 2020 8:55 am

Re: OpenXR/OpenVR (virtual reality support)

Post by T33 » Mon Oct 12, 2020 6:34 am

Hi kwahoo,

Thank you for all your great work on adding OpenXR support!

It seems that the last update post and pre-release build of the git repo ( https://github.com/kwahoo2/FreeCAD ) were more than 2 months ago. So development seems to have stopped/slowed down and the build of current features (e.g working HMD) looks stable ( https://www.youtube.com/watch?v=K8pXt4s0YU4 ).

I thought it might be a good idea to push the current changes to the mainline so that everyone can use it with the latest features/version.
A 'smaller' commit would also make it easier to review and see what has been added. It would also allow other people ( like me ) to implement additional stuff like edit capability in VR.

Side note: If controller support is still missing we can add that later, since there are many controllers out there (Xbox 360/One, Playstation, Oculus Touch, Vive wand, Hydra's etc, WII motes and other custom things).
kwahoo
Posts: 338
Joined: Fri Nov 29, 2013 3:09 pm
Contact:

Re: OpenXR/OpenVR (virtual reality support)

Post by kwahoo » Sun Oct 18, 2020 5:21 pm

T33 wrote:
Mon Oct 12, 2020 6:34 am
So development seems to have stopped/slowed down and the build of current features (e.g working HMD) looks stable
This is because I've started working on a different things lately, and I'm going to return to XR view development later. I still listen for a feedback. The truth is: I have no idea if the code works for others at all. There is no point mainlining not tested code. For testing, there is a preview release.

Also, should I make pull request for OpenXR view or the OpenVR one? Which one gives more compatibility (listening feedback here)? Is there a hardware that supports OpenGL+OpenVR but does not support OpenGL+OpenXR? OpenXR was supposed to be THE VR standard, but current implementations are limited. I cannot even run OpenXR on Nvidia+Linux, because of lack of asynchronous reprojection.

Finally, after seeing how slow is mainline FreeCAD rendering, I'm going to wait for LinkStage3 merge.
kwahoo
Posts: 338
Joined: Fri Nov 29, 2013 3:09 pm
Contact:

Re: OpenXR/OpenVR (virtual reality support)

Post by kwahoo » Sun Oct 25, 2020 2:26 pm

realthunder wrote:
Sat Sep 12, 2020 9:09 am
Not really, I just mean to have a room with better graphics.
Btw, do you still use these Xenial/Bionic scripts as the base for your Appimages? I would like to build a custom Appimage based on LinkStage3 brach, but I have to disable Python2/QT4 part and move to Focal, since XR libraries do not exist in older Ubuntu releases.
realthunder
Posts: 1810
Joined: Tue Jan 03, 2017 10:55 am

Re: OpenXR/OpenVR (virtual reality support)

Post by realthunder » Sun Oct 25, 2020 9:51 pm

kwahoo wrote:
Sun Oct 25, 2020 2:26 pm
Btw, do you still use these Xenial/Bionic scripts as the base for your Appimages? I would like to build a custom Appimage based on LinkStage3 brach, but I have to disable Python2/QT4 part and move to Focal, since XR libraries do not exist in older Ubuntu releases.
No, that is for debian packages. The AppImage scripts are here.
Try Assembly3 (latest version 0.11) along with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
kwahoo
Posts: 338
Joined: Fri Nov 29, 2013 3:09 pm
Contact:

Re: OpenXR/OpenVR (virtual reality support)

Post by kwahoo » Mon Oct 26, 2020 10:42 pm

realthunder wrote:
Sun Oct 25, 2020 9:51 pm

No, that is for debian packages. The AppImage scripts are here.
Thanks, unforunately I cannot get it working (using your repository for testing):

Code: Select all

+ test conda-fc-dev
+ docker_name=conda-fc-dev
++ date +%Y%m%d
+ date=20201026
+ conda_img_name=FreeCAD-img-Conda-Py3-Qt5-20201026-glibc2.12-x86_64
+ cat
+ bash -c ' docker build -t conda-fc-dev -f tmp.dockfile'
"docker build" requires exactly 1 argument.
See 'docker build --help'.

Usage:  docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile
realthunder
Posts: 1810
Joined: Tue Jan 03, 2017 10:55 am

Re: OpenXR/OpenVR (virtual reality support)

Post by realthunder » Tue Oct 27, 2020 1:46 am

kwahoo wrote:
Mon Oct 26, 2020 10:42 pm
Thanks, unforunately I cannot get it working (using your repository for testing):
Should be fixed now.
Try Assembly3 (latest version 0.11) along with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
kwahoo
Posts: 338
Joined: Fri Nov 29, 2013 3:09 pm
Contact:

Re: OpenXR/OpenVR (virtual reality support)

Post by kwahoo » Wed Oct 28, 2020 3:43 pm

realthunder wrote:
Tue Oct 27, 2020 1:46 am
Should be fixed now.
Thanks, it's fixed.
Post Reply

Who is online

Users browsing this forum: irevdev and 8 guests