# overlapping 2 volumes in a render window

**URL:** https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775
**Category:** Support
**Created:** [April 17, 2019, 3:40pm UTC](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775 "2019-04-17T15:40:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marco\_Festugato](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marco_festugato/32/327_2.png) [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)
#### Post date: [April 17, 2019, 3:40pm UTC](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775/1 "2019-04-17T15:40:04Z")

</div>

Hello,

I have 199 CT slices of the liver (volume 1) from which I have segmented the liver vessels (volume 2: 199 slices containing only the vessels in binary images). Now I want to overlap these 2 volumes: I want to see the liver and my segmented vessels **both** (highlighting vessels in red, I think a simple look up table will work), but how can I actually perform the overlapping?

Are there any examples / classes I could use?

Thanks in advance for any help!

---

<div class="post-metadata">

### Author: ![marcomusy](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marcomusy/32/95_2.png) [@marcomusy](https://discourse.vtk.org/u/marcomusy)
#### Post date: [April 21, 2019, 3:59pm UTC](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775/2 "2019-04-21T15:59:43Z")

</div>

I would just add the two volumes to the same renderer, if you are using python you can have a look [here](https://github.com/marcomusy/vtkplotter/tree/master/examples/volumetric).

---

<div class="post-metadata">

### Author: ![Marco\_Festugato](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marco_festugato/32/327_2.png) [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)
#### Post date: [April 23, 2019, 12:30pm UTC](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775/3 "2019-04-23T12:30:21Z")

</div>

Thanks @marcomusy, it worked! If everyone else need it, I also found out about vtkMultiVolume (that I cant use because I have an old version of VTK ☹ )
