# Coloring issue surface representation element-wise field Paraview 6.0 with opacity \< 1.0

**URL:** https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988
**Category:** ParaView Support
**Created:** [July 21, 2025, 1:33pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988 "2025-07-21T13:33:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hohoho](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hohoho/32/7951_2.png) [@hohoho](https://discourse.paraview.org/u/hohoho)
#### Post date: [July 21, 2025, 1:33pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/1 "2025-07-21T13:33:14Z")

</div>

For the attached VTK dataset, when I color it by `partition` and I use representation `Surface`, it is colored correctly when opacity == 1.0 but incorrectly when opacity \< 1.0, see attached figures. If I use another representation (`Surface with edges`) or plot a nodal-wise field, it is colored correctly. I can also replicate the issue in Paraview 5.13.2, 5.12.0 and 5.11.0. If I plot another element-wise field, I obtain the exact same wrong coloring when opacity \< 1.0. I can also replicate the issue with a `vtx` version of the same dataset.

 ![opacity = 1.0](https://discourse.paraview.org/uploads/default/original/3X/9/9/994d2ae2a857519cbd57ab569b3162670a6b15b9.png)

 ![opacity = 0.5](https://discourse.paraview.org/uploads/default/original/3X/2/b/2bbf328f5e57ffb6e337746960d9d6439431890c.png)

EDIT: Removed incorrect data  
[monolithic\_moving\_p3\_000000.vtu](https://discourse.paraview.org/uploads/short-url/8M4URZ0FDQ9rzBPR6hsbFQYOyif.vtu) (14.2 KB)  
[monolithic\_moving\_p2\_000000.vtu](https://discourse.paraview.org/uploads/short-url/r6DGXGs6LBQbGQqyurlq2azmC3H.vtu) (13.1 KB)  
[monolithic\_moving\_p1\_000000.vtu](https://discourse.paraview.org/uploads/short-url/ikscE8DiVB5sBmBj59bIEDRpTH6.vtu) (13.8 KB)  
[monolithic\_moving\_p0\_000000.vtu](https://discourse.paraview.org/uploads/short-url/7UEH8uewo3NHc7bTJQSI2WHPibP.vtu) (13.8 KB)  
[monolithic\_moving000000.pvtu](https://discourse.paraview.org/uploads/short-url/nX2PwdDaLd8RAQS6P6NGxkYdgsQ.pvtu) (1.5 KB)  
[monolithic\_moving\_p4\_000000.vtu](https://discourse.paraview.org/uploads/short-url/A1bIMAm7sEYif8rk5hkxQymMTJy.vtu) (14.5 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 21, 2025, 2:54pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/2 "2025-07-21T14:54:58Z")

</div>

It looks like there is a lot of overlapping between the different datasets:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/0/a/0afa38290ba677e5a63b104d3ae00d30a0c31bea.png)

This is probably causing that effect.

---

<div class="post-metadata">

### Author: ![hohoho](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hohoho/32/7951_2.png) [@hohoho](https://discourse.paraview.org/u/hohoho)
#### Post date: [July 21, 2025, 3:17pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/3 "2025-07-21T15:17:11Z")

</div>

Sorry, I attached the wrong data @mwestphal . I attached the data for the first processor at different time-steps. Here is the data for all the processors at the first time-step.You should be able to open it from the pvtu.  
[monolithic\_moving\_p3\_000000.vtu](https://discourse.paraview.org/uploads/short-url/8M4URZ0FDQ9rzBPR6hsbFQYOyif.vtu) (14.2 KB)  
[monolithic\_moving\_p2\_000000.vtu](https://discourse.paraview.org/uploads/short-url/r6DGXGs6LBQbGQqyurlq2azmC3H.vtu) (13.1 KB)  
[monolithic\_moving\_p1\_000000.vtu](https://discourse.paraview.org/uploads/short-url/ikscE8DiVB5sBmBj59bIEDRpTH6.vtu) (13.8 KB)  
[monolithic\_moving\_p0\_000000.vtu](https://discourse.paraview.org/uploads/short-url/7UEH8uewo3NHc7bTJQSI2WHPibP.vtu) (13.8 KB)  
[monolithic\_moving000000.pvtu](https://discourse.paraview.org/uploads/short-url/nX2PwdDaLd8RAQS6P6NGxkYdgsQ.pvtu) (1.5 KB)  
[monolithic\_moving\_p4\_000000.vtu](https://discourse.paraview.org/uploads/short-url/A1bIMAm7sEYif8rk5hkxQymMTJy.vtu) (14.5 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 21, 2025, 3:29pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/4 "2025-07-21T15:29:58Z")

</div>

Looks fine with opacity using ParaView 6.0

 ![image](https://discourse.paraview.org/uploads/default/original/3X/e/4/e4ae6a7f74d71c5eac2f0af14353b93bde66df1a.png)

---

<div class="post-metadata">

### Author: ![hohoho](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hohoho/32/7951_2.png) [@hohoho](https://discourse.paraview.org/u/hohoho)
#### Post date: [July 21, 2025, 3:38pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/5 "2025-07-21T15:38:19Z")

</div>

Do you have `Depth peeling` on? Turning it off seems to fix the issue for me. (Settings \> Render view \> Translucent rendering options \> depth peeling)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 21, 2025, 3:49pm UTC](https://discourse.paraview.org/t/coloring-issue-surface-representation-element-wise-field-paraview-6-0-with-opacity-1-0/16988/6 "2025-07-21T15:49:55Z")

</div>

I do not.
