# CSV and Volume Rendering

**URL:** https://discourse.paraview.org/t/csv-and-volume-rendering/7136
**Category:** ParaView Support
**Created:** [May 4, 2021, 1:28am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136 "2021-05-04T01:28:05Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 4, 2021, 1:28am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/1 "2021-05-04T01:28:05Z")

</div>

Hello Everyone

Great to meet you.

I just started with Paraview.

I have to render the mass data to volume. I have a .csv file of the mass data. How to do that?

I understand my question can be vague as I said I am starting I don’t know how to ask good questions.

I would appreciate your response.

---

<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: [May 4, 2021, 7:29am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/2 "2021-05-04T07:29:22Z")

</div>

please share the csv file as well as the volume file.

---

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 6, 2021, 2:05am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/3 "2021-05-06T02:05:44Z")

</div>

I am sharing the CSV headers

Point ID | D | M | Points | Points\_Magnitude  
0 |6.46e-10| 6.46e-10 | -1.5 , -1.5, -1.5 (x,y,z). | 2.598080

I need to render Mass as a volume (and I don’t have any volume csv I believe)

I would appreciate your help

---

<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: [May 6, 2021, 6:31am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/4 "2021-05-06T06:31:44Z")

</div>

- Open your file
- Filters → TableToPoints
- Filters → RessampleToImage

---

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 6, 2021, 9:02am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/5 "2021-05-06T09:02:24Z")

</div>

Thanks !! I really appreciate it.  
I will do that.

Does after resampling to image do I need to use Filter Table to Structure and then render it as a volume to get my answer?

---

<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: [May 6, 2021, 9:06am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/6 "2021-05-06T09:06:47Z")

</div>

no, just render as a volume.

TableTOStructuredGrid could also work, hard to say without your data.

---

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 6, 2021, 9:08am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/7 "2021-05-06T09:08:27Z")

</div>

Okay.

- I opened my CSV File and chose X, Y, Z as axis
- Clicked Apply
- Chose Filter → Table to Points
- Chose Filter → Resample to Image

Now how to apply Volume?

---

<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: [May 6, 2021, 9:09am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/8 "2021-05-06T09:09:34Z")

</div>

Select volume instead of outline or surface.

---

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 6, 2021, 9:11am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/10 "2021-05-06T09:11:20Z")

</div>

Sure thank you I have also shared the csv file.

---

<div class="post-metadata">

### Author: ![msw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/msw/32/5154_2.png) [@msw](https://discourse.paraview.org/u/msw)
#### Post date: [May 6, 2021, 2:12pm UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/11 "2021-05-06T14:12:59Z")

</div>

Thank you for you kind response and help.

I also need to use thresholding on the Mass value (M) I used the Thresholding filter but I didn’t saw any change in the Visualization. I am pretty much confused → after changing to Table to Points → I used thresholding all colored in “M”. I don’t know how whether my approach is wrong or right.

Can you suggest something. I would really appreciate it.

---

<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: [December 11, 2023, 10:40am UTC](https://discourse.paraview.org/t/csv-and-volume-rendering/7136/12 "2023-12-11T10:40:38Z")

</div>

A post was split to a new topic: [Help with CSV](https://discourse.paraview.org/t/help-with-csv/13478)
