# UniformGridRepresentation - Cells covered by 'nan' are transparent?

**URL:** https://discourse.paraview.org/t/uniformgridrepresentation-cells-covered-by-nan-are-transparent/13774
**Category:** ParaView Support
**Created:** [January 23, 2024, 2:45am UTC](https://discourse.paraview.org/t/uniformgridrepresentation-cells-covered-by-nan-are-transparent/13774 "2024-01-23T02:45:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Liam](https://discourse.paraview.org/user_avatar/discourse.paraview.org/liam/32/13461_2.png) [@Liam](https://discourse.paraview.org/u/Liam)
#### Post date: [January 23, 2024, 2:45am UTC](https://discourse.paraview.org/t/uniformgridrepresentation-cells-covered-by-nan-are-transparent/13774/1 "2024-01-23T02:45:12Z")

</div>

I have a 3D Uniform Grid .vtr file here as an example. When I import it into paraview, one of the cells has ‘nan’ data. In the Color Map Editor panel, I can set Nan Opacity to 0. However, this results in a ‘hole’ in my cube.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/a/aa3033b72baaed005a81ce62f078d12b327694ba.jpeg)

As can be seen, I can now see into my cube of data all the way to the other outside edge, even though the cube is filled with data blocks. How can I get Paraview to render the ‘inner’ elements of the cube? (ie, removal of a ‘nan’ would simply result in me now seeing the other faces of the adjacent cells)

---

<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: [January 23, 2024, 8:17am UTC](https://discourse.paraview.org/t/uniformgridrepresentation-cells-covered-by-nan-are-transparent/13774/2 "2024-01-23T08:17:03Z")

</div>

Indeed, in “Surface” representation, you can only see the surface. A simple fix is to add a “Shrink” filter with a value of 1. It will convert to unstructured grid but you will be able to see everything.

---

<div class="post-metadata">

### Author: ![Liam](https://discourse.paraview.org/user_avatar/discourse.paraview.org/liam/32/13461_2.png) [@Liam](https://discourse.paraview.org/u/Liam)
#### Post date: [January 23, 2024, 4:48pm UTC](https://discourse.paraview.org/t/uniformgridrepresentation-cells-covered-by-nan-are-transparent/13774/3 "2024-01-23T16:48:36Z")

</div>

Pretty good fix! Thanks Mathieu!
