1
$\begingroup$

I want to do somethings similar to the plot found at the bottom of this blogpost, which I found via this post in ParaView, which seems to have been the original Application used to generate the plot.

I have a .csv-file containing data points of the form $(x, y, z, a)$ where $a$ ranges from 0 to 1 and represents gives the probability density - or "fog" density that should be plottet.

My question is, how to plot this datafile/which ParaView filters to use to create this plot.

$\endgroup$
5
  • $\begingroup$ And what is your question? How to do the plot or how to create the input file? $\endgroup$
    – nicoguaro
    Aug 12, 2018 at 14:19
  • $\begingroup$ @nicoguaro I already have the input file, I just can't figure out how to plot it. $\endgroup$ Aug 12, 2018 at 14:50
  • $\begingroup$ You need more than just data points to use volume rendering. $\endgroup$
    – nicoguaro
    Aug 12, 2018 at 15:08
  • $\begingroup$ @nicoguaro Could you please elaborate on that? $\endgroup$ Aug 12, 2018 at 15:18
  • $\begingroup$ Yes, it is basically the answer of Biswajit Banerjee. You need to have a function define over your domain. For that you need a mesh, a regular mesh is the best option for volume rendering. $\endgroup$
    – nicoguaro
    Aug 13, 2018 at 16:48

1 Answer 1

3
$\begingroup$

You will have to interpolate the points to a 3D grid (a regular grid will do) and then do the volume rendering. See https://www.visitusers.org/index.php?title=Volume_Rendering for some examples.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.