# Is it possible to choose multiple girds in the coloring select?

**URL:** https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831
**Category:** ParaView Support
**Created:** [September 8, 2023, 2:56am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831 "2023-09-08T02:56:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![fashing](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fashing/32/12357_2.png) [@fashing](https://discourse.paraview.org/u/fashing)
#### Post date: [September 8, 2023, 2:56am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/1 "2023-09-08T02:56:32Z")

</div>

Hi, I am using Paraview 5.11.1 for volume rendering. And the testcase I use contains multiple grids in `Grid Arrays`. I notice that I can only choose one grid each time in the `coloring` select. I wonder if there’s a way to show multiple / all grids in one time? It’s even better if we can customize the color for each grid!

(the `coloring` select I mentioned)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/3/36934d5436db2ca78007859b847f6ca18d855276.png)

Thank you for your time!

---

<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: [September 8, 2023, 7:19am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/2 "2023-09-08T07:19:08Z")

</div>

Here are two blog that could be of interest to you:

- [https://www.kitware.com/new-in-paraview-5-9-volume-rendering-with-a-separate-opacity-array/](https://www.kitware.com/new-in-paraview-5-9-volume-rendering-with-a-separate-opacity-array/)
- [https://www.kitware.com/advanced-multi-channel-volume-visualization-in-paraview/](https://www.kitware.com/advanced-multi-channel-volume-visualization-in-paraview/)

---

<div class="post-metadata">

### Author: ![fashing](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fashing/32/12357_2.png) [@fashing](https://discourse.paraview.org/u/fashing)
#### Post date: [September 11, 2023, 2:54am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/3 "2023-09-11T02:54:37Z")

</div>

Hi Mathieu,  
Thank you for your information!  
However, I got the following errors when I enabled the `2D Transfer Function` checkbox.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/1/1f651be14fdd374446ad2bfc184e305a36881492.png)

I am using testcases from openvdb [official website](https://www.openvdb.org/download/).

---

<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: [September 11, 2023, 7:32am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/4 "2023-09-11T07:32:35Z")

</div>

Which dataset exactly ?

---

<div class="post-metadata">

### Author: ![fashing](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fashing/32/12357_2.png) [@fashing](https://discourse.paraview.org/u/fashing)
#### Post date: [September 11, 2023, 7:44am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/5 "2023-09-11T07:44:35Z")

</div>

I encounter this error on all .vdb I found (e.g. [torus](https://artifacts.aswf.io/io/aswf/openvdb/models/torus.vdb/1.0.0/torus.vdb-1.0.0.zip))  
And here’s the testcase I used for testing multi-color.  
[columns.vdb](https://discourse.paraview.org/uploads/short-url/9zObWi31SX64OYLhIs2tl09PYxM.vdb) (1.2 MB)

---

<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: [September 11, 2023, 8:38am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/6 "2023-09-11T08:38:54Z")

</div>

The problem is that the data is read as a partitioned dataset with partial data on it. It would be better if the data was defined on all blocks.

---

<div class="post-metadata">

### Author: ![fashing](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fashing/32/12357_2.png) [@fashing](https://discourse.paraview.org/u/fashing)
#### Post date: [September 11, 2023, 8:58am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/7 "2023-09-11T08:58:43Z")

</div>

I am not sure is this what you mean. (a grid contains all the data)  
[column.vdb](https://discourse.paraview.org/uploads/short-url/2AEee6beAHM79B7aTAZXHGDH5fv.vdb) (1.1 MB)

Though I still got the same error while enabling the `2D Transfer Function` checkbox.

---

<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: [September 11, 2023, 9:01am UTC](https://discourse.paraview.org/t/is-it-possible-to-choose-multiple-girds-in-the-coloring-select/12831/8 "2023-09-11T09:01:55Z")

</div>

Indeed, looks like partitioned data is not well supported. You can work around it by using ResampleToImage filter.

Please open an issue though.

FYI @cory.quammen
