SlicerVR using Valve Index

Dear all,

I have attempted to use the SlicerVR Module, but it appears that the HMD is not being tracked when the “Show scene in Virtual Reality” button is toggled. I have tried making different adjustments to the scene, but only my controller gets tracked. Could anyone tell me if Valve Index is supported, and, if that’s the case, how to render a volume correctly on it? I have uploaded what I see in VR View:

Does head tracking work in other SteamVR applications?

Thank you for your answer. Yes, I tested different applications to make sure it wasn’t the device. What is shown in my video is that as soon as I disable Slicer’s VR rendering, Steam’s “waiting for the application” view appears, and tracking works fine, including displaying the controllers from the correct perspective, which is not happening in Slicer.

Which Slicer version do you use?

@cpinter have you tried the official factory builds of SlicerVirtualReality with recent SteamVR versions?

I’m using 4.11.20210226 revision 29738 built 2021-03-01.

I didn’t find releases on the Kitware’s GitHub repo. Could you please point me to it?

The releases are built nightly by Kitware computers and stored in the Extensions Server.

It would be nice if you could test the latest Slicer Preview Release, too, as OpenVR libraries are bundled in the extension and older OpenVR libraries are often become incompatible as SteamVR is updated. The Slicer Preview Release might use a more recent OpenVR library version.

I have not tried SlicerVR with a headset for months, since our only headset broke. The new ones are on their way…

If it doesn’t work with the latest preview, maybe it can be fixed by updating the OpenVR library.

@siqueirl let us know.

Thank you for your answers. I couldn’t get any binaries on the Extensions Server. The Download button on this page, for example, does not seem to work.

I tried building the code on your repo, but this is the first time I build a Slicer extension, so I didn’t manage to follow your developer guide. I built Slicer and VTK without a problem, Qt is installed, but when I tried to build your extension, I got this error:

image

I believe it is because I did not have a VTK OpenVR reference set in the project, but since this step is summarized as “Build the extension against the newly built Slicer with Qt5 and VTK9 enabled”, I didn’t manage to set it up.

The Extensions Server is being migrated to a new system, so some errors are expected. @jcfr are you aware of this issue?

Anyway, you should be able to download the extension package from the Extensions Manager in Slicer - and most likely you need to rebuild the SlicerVirtualReality extension anyway if you want to try a new OpenVR library version. I’ve just tested and SlicerVirtualReality extension builds without errors for me on Windows in both Debug and Release mode, by following these instructions.