# Stereoscopic settings

**URL:** https://discourse.slicer.org/t/stereoscopic-settings/688
**Category:** Support
**Created:** [July 14, 2017, 1:03pm UTC](https://discourse.slicer.org/t/stereoscopic-settings/688 "2017-07-14T13:03:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![phil.dunn](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@phil.dunn](https://discourse.slicer.org/u/phil.dunn)
#### Post date: [July 14, 2017, 1:03pm UTC](https://discourse.slicer.org/t/stereoscopic-settings/688/1 "2017-07-14T13:03:28Z")

</div>

Hi, is there a way of changing the stereoscopic settings when viewing a 3D render in openGL mode? This would probably include changing the effective eye separation (or convergance angle), possibly setting the screen size and width. changing is the model zooms in Z or just scales in size at the same Z position.

Many thanks  
Phil

---

<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: [July 14, 2017, 2:02pm UTC](https://discourse.slicer.org/t/stereoscopic-settings/688/2 "2017-07-14T14:02:35Z")

</div>

You can modify the VTK camera parameters directly.

```
view = layoutManager.threeDWidget(0).threeDView()
renderWindow = view.renderWindow()
renderers = renderWindow.GetRenderers()
renderer = renderers.GetItemAsObject(0)
camera = cameraNode.GetCamera()
camera.SetEyeAngle(15)

```

See more examples in the [Slicer script repository](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Accessing_views.2C_renderers.2C_and_cameras).
