# Enable view synchronization in real-time between 3D View on Slicer and VR view on HTC vive

**URL:** <https://discourse.slicer.org/t/enable-view-synchronization-in-real-time-between-3d-view-on-slicer-and-vr-view-on-htc-vive/6718>\
**Category:** Support\
**Tags:** virtual-reality\
**Created:** [May 7, 2019, 1:37pm UTC](https://discourse.slicer.org/t/enable-view-synchronization-in-real-time-between-3d-view-on-slicer-and-vr-view-on-htc-vive/6718 "2019-05-07T13:37:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 7, 2019, 11:16pm UTC](https://discourse.slicer.org/t/enable-view-synchronization-in-real-time-between-3d-view-on-slicer-and-vr-view-on-htc-vive/6718/2 "2019-05-07T23:16:03Z")

</div>

You can add an observer to the camera node so whenever the camera is rotated a callback function is called, which updates the view in the VR headset.

However, probably it would work better if you used two computers and two headsets and synchronize them as shown [here](https://discourse.slicer.org/t/collaborative-surgery-planning-in-virtual-reality/6407/9).

---

_[View the full topic](https://discourse.slicer.org/t/enable-view-synchronization-in-real-time-between-3d-view-on-slicer-and-vr-view-on-htc-vive/6718)._
