Virtual reality


I would like to ask about the possibility of a problem with Virtual Reality in Slicer. The moment I press “Show scene in Virtual Reality”, everything seems ok. SteamVR starts, announcing that there is a Slicer-real app in the game, but it is dark in the glasses.
Obviously, space responds to movement, but I don’t see anything. No need to install something, or don’t know what it could be?

thank you for your helpfulness
With respect
Honza Hečko
Podlesí Hospital

Thinking about this, I had the same issue after my cat chew on the VR cable (three times). However, I suppose it is not the same issue for you… Maybe it is simply the connection of the cable? Sorry for the obvious suggestion, I don’t have much experience with hardware issues.

Do you think it could only do that with the SlicerVirtualReality extension?
Because other VR software runs normally. I personally don’t think so because I’m able to get into the SteamVR menu. Does anyone have any idea?

would screens help? we’ll really use it in the hospital. Do you have any tips? (reinstall, cache, temporary file, other extension?) i have hp create z book g7. please help

@cpinter have you tried Slicer VR with latest Steam version?
@Honza_Hecko what is your Steam & SteamVR versions?

@lassoan I haven’t. I wanted to do minor work on VR until the VTK upgrade, but one of my controllers apparently broke and it is impossible to do anything meaningful like that so I’ve been postponing getting started…

1 Like

Hi to all,
in the end, it was necessary to strictly set up the launch of the entire Slicer via non-integrated NVIDIA graphics. In my head, I thought that Slicer would switch it automatically, but it probably took it integrated during processing.
After switching, the display no longer works. Now I still have to figure out the possibility of displaying the pointer and Cut Plane.
Thank you all.
Honza H

Probably you need to set Slicer to use the same graphics system that SteamVR is using.

Applications can use some NVidia-specific API to force using a specific graphics system, but this has two issues:

  1. We do not know if the user wants to use integrated or discrete GPU (discrete GPU is faster but consumes more power; requires the GPU to remain connected, which may not be desirable when you use an eGPU or systems like the Surface Book, which has the GPU in the base).
  2. It would require Slicer to use a closed-source third-party library (we try to minimize these kind of dependencies).

You can use any MRML node (a model, markup, volume, etc.) as pointer, just enable controller transforms and apply that transform to the node.

See instructions for model clipping in virtual reality here.