Hello good people)
I am new to 3D slicer virtual reality.
I created a 3D object in 3D Slicer 5.2.1 and launched virtual reality extension. I use HTC Vive. The object is visible in the HMG, but controllers look like totally disabled and I cannot manipulate with the object. Any other activities (Fly/Transform entire scene/Transform objects/) as described in GitHub - KitwareMedical/SlicerVirtualReality: A Slicer extension that enables user to interact with a Slicer scene using virtual reality. do not work.
I exported the stl file and opened it in VRifier. All manupulations work perfectly.
Could You please suggest how to fix this problem?
Very briefly, please wait until it is fixed.
For more information do a search on discourse, there are many topics about this, and although we are now much closer to the solution, the situation is the same.
To follow up, we are working on the issue and expect this to fix this shortly.
A fix is on its way, see SlicerVirtualReality/c993cd7. This commit brings back the ability to grab objects and fly around.
Although untested (yet), the multi-gesture (Pan, Pinch, Rotate) are also expected to work, but with grip buttons only.
Please check the commit message to get an idea of the next steps.
Lucas, we tried the very latest commits yesterday and none of the interactions worked unfortunately with the HP headset. Maybe related to the json, not sure. This is why I asked about a way to verify the current settings, to be able to check where things break.
This is very bad news. I bet this is related to the driver, or the json.
Was the HP headset working in previous versions of SlicerVirtualReality? Or were you using another headset?
Without recompiling VTK, I am not sure there is anything you can do to check the current bindings are correctly setup, besides adding an observer to the
AnyEvent to see if it fires anything.
If events are fired, the problem is with the interactor style.
The headset works with the older versions. I just realized there is no
OnSelect3D function, so your commit was probably not merged. Let me cherry pick that and see what changes.
Thanks for the suggestions! I’ll add an observer if I need to find out about the events.
As far as I follow it, now works. But nothing improved at me. I reloaded the 3DSlicer and still the same
Can You guide me step-by-step what I should do please?
There is one commit that is not integrated yet. Lucas please let me know if it is ready to integrate (your latest branch in your fork, referenced in the issue about flying in SlicerVR).
Unfortunately, still does not work with the controllers to move the object in space. However, the controller does rotate/move the object if used on the Desktop interface as shown on the picture. What can be done?
I tried it on Friday and it works. You need to use the latest preview version 5.3.0.
I tried today with my HTC Vive Pro, but I’m still not able to move the entire scene altogether pressing the trigger in both controllers (which I remember I was able to do some time ago).
I can move single object separately with the latest preview version 5.3.0, but in neurosurgical planning moving the scene altogether would be way more helpful. Is there anything I can do about it?
Thanks in advance
Two handed gestures are not yet fixed. What you can do is fly using the joystick or use the center view button in the VR module to set the VR camera based on the 3D view in Slicer.
Thanks you very much for you kind answer.
Can I ask you if you think that is something that is planned to be fixed in the future?
Alternatively, would it work properly if I install back older version of 3D Slicer?
thank you very much for your patience.
Although that’s by no means an acceptable solution, Slicer 4.11 should support it.
Hi! In 5.2.1 version moving 3D objects in VR still not fixed?
Please check out the 3D Slicer preview release (5.3.0), where it is fixed.
Could not find link to 5.3.0. Instead, updated to 5.4.0. In this, can fly through with touch on the trackpad, but grabbing and other still not possible.
Yes, correct, in my last test I had the same experience. Sorry!