# Translucent assemblies in 8.2.0

**URL:** <https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419>\
**Category:** Development\
**Created:** [March 6, 2019, 5:55pm UTC](https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419 "2019-03-06T17:55:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![efahl](https://discourse.vtk.org/user_avatar/discourse.vtk.org/efahl/32/1087_2.png) [@efahl](https://discourse.vtk.org/u/efahl)\
**Post date:** [March 11, 2019, 9:48pm UTC](https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419/5 "2019-03-11T21:48:24Z")

</div>

I just turned on renderer.SetDepthPeeling(True) and that affects the rendering quite a bit, by adding edges, but I’ve stayed away from it before because of the huge performance hit. (I did not test depth peeling with images inside assemblies, which may be a different issue.)

Each image has three spheres, back (red) is not transparent, two front are 0.5 transparent, leftmost sphere is inside an assembly.

8.1.0 without depth peeling, this is my baseline for “looks correct”.  
 ![image](https://discourse.vtk.org/uploads/default/original/1X/769a0acd8d1d9ea26ad5e3ffe7b78dcc5a2f1090.png)

8.1 with depth peeling. Looks wrong in that the sphere inside the assembly is too bright.  
 ![image](https://discourse.vtk.org/uploads/default/original/1X/d9cf9ad2c0bce2b115206a61725f812b3fd4316c.png)

8.2 without. Clearly wacko.  
 ![image](https://discourse.vtk.org/uploads/default/original/1X/a48a21d55bec7ba4148a80fc04b02fcf52183ccf.png)

8.2 with, looks the same as 8.1 with depth peeling, with the same brightness artifact.  
 ![image](https://discourse.vtk.org/uploads/default/original/1X/d9cf9ad2c0bce2b115206a61725f812b3fd4316c.png)

---

_[View the full topic](https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419)._
