# Virtual reality

**URL:** <https://discourse.slicer.org/t/virtual-reality/17199>\
**Category:** Support\
**Tags:** virtual-reality\
**Created:** [April 20, 2021, 11:08am UTC](https://discourse.slicer.org/t/virtual-reality/17199 "2021-04-20T11:08:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Honza\_Hecko](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/honza_hecko/32/5303_2.png) [@Honza\_Hecko](https://discourse.slicer.org/u/Honza_Hecko)\
**Post date:** [April 20, 2021, 11:08am UTC](https://discourse.slicer.org/t/virtual-reality/17199/1 "2021-04-20T11:08:02Z")

</div>

Hello,

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

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [April 20, 2021, 11:11am UTC](https://discourse.slicer.org/t/virtual-reality/17199/2 "2021-04-20T11:11:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Honza\_Hecko](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/honza_hecko/32/5303_2.png) [@Honza\_Hecko](https://discourse.slicer.org/u/Honza_Hecko)\
**Post date:** [April 20, 2021, 11:19am UTC](https://discourse.slicer.org/t/virtual-reality/17199/3 "2021-04-20T11:19:01Z")

</div>

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?  
Honza

---

<div class="post-metadata">

**Author:** ![Honza\_Hecko](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/honza_hecko/32/5303_2.png) [@Honza\_Hecko](https://discourse.slicer.org/u/Honza_Hecko)\
**Post date:** [April 20, 2021, 2:36pm UTC](https://discourse.slicer.org/t/virtual-reality/17199/4 "2021-04-20T14:36:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 2, 2021, 1:20pm UTC](https://discourse.slicer.org/t/virtual-reality/17199/5 "2021-05-02T13:20:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [May 2, 2021, 2:52pm UTC](https://discourse.slicer.org/t/virtual-reality/17199/6 "2021-05-02T14:52:33Z")

</div>

@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…

---

<div class="post-metadata">

**Author:** ![Honza\_Hecko](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/honza_hecko/32/5303_2.png) [@Honza\_Hecko](https://discourse.slicer.org/u/Honza_Hecko)\
**Post date:** [May 2, 2021, 4:00pm UTC](https://discourse.slicer.org/t/virtual-reality/17199/7 "2021-05-02T16:00:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 2, 2021, 5:45pm UTC](https://discourse.slicer.org/t/virtual-reality/17199/8 "2021-05-02T17:45:11Z")

</div>

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).

> [@Honza\_Hecko](#):
>
> Now I still have to figure out the possibility of displaying the pointer and Cut Plane.

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](https://github.com/KitwareMedical/SlicerVirtualReality/blob/master/README.md#how-to-clip-models).
