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$
  • $\begingroup$ And what is your question? How to do the plot or how to create the input file? $\endgroup$ – nicoguaro Aug 12 '18 at 14:19
  • $\begingroup$ @nicoguaro I already have the input file, I just can't figure out how to plot it. $\endgroup$ – HerpDerpington Aug 12 '18 at 14:50
  • $\begingroup$ You need more than just data points to use volume rendering. $\endgroup$ – nicoguaro Aug 12 '18 at 15:08
  • $\begingroup$ @nicoguaro Could you please elaborate on that? $\endgroup$ – HerpDerpington Aug 12 '18 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 '18 at 16:48
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.