# volume rendering error on call GetDepthImage()

**URL:** https://discourse.vtk.org/t/volume-rendering-error-on-call-getdepthimage/13900
**Category:** Support
**Tags:** rendering
**Created:** [May 17, 2024, 3:51am UTC](https://discourse.vtk.org/t/volume-rendering-error-on-call-getdepthimage/13900 "2024-05-17T03:51:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![a74856h669](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/76d3ee/32.png) [@a74856h669](https://discourse.vtk.org/u/a74856h669)
#### Post date: [May 17, 2024, 3:51am UTC](https://discourse.vtk.org/t/volume-rendering-error-on-call-getdepthimage/13900/1 "2024-05-17T03:51:00Z")

</div>

When I set the six clip planes during volume rendering,  
the depth image is correct when I don’t rotate the camera lens,  
 ![depth-ok](https://discourse.vtk.org/uploads/default/original/2X/5/504645b1e8dd8f39315591dafbd161eec3045997.png)

but when I rotate the camera lens I get a problem where the depth image is partially missing  
 ![depth-error](https://discourse.vtk.org/uploads/default/original/2X/e/eb060f0096a58a97cfd8ef4e8bb718f303715284.png)

The camera uses parallel projection and the renderwindow set viewport.

What is the problem and how do I fix it?
