Volume plots with vtr file #19373
Unanswered
ikaul00
asked this question in
Help using VisIt
Replies: 1 comment 2 replies
-
Could you provide the .vtr file (zip and attach here if you are able/willing). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I have to make a visualization of a 3d volume rendering of density data on a cartesian grid. My data is initially in the form of a 3d numpy array but in spherical coordinates (with a statically refined mesh). I set out to first convert the numpy array and the dimensions to a .vtr file using pyevtk with the function gridToVTK. I then load it into the Visit GUI and apply the spherical to cartesian transform. However the full plot looks like a slightly transparent sphere, which seems off because the volume rendering should not look like that (the density is 4 orders of magnitude higher in the midplane than the outermost regions). More importantly, the rendering looks like it is only giving specific values at the points I have stores the data for, instead of making smoother surfaces to 'connect' these point data. I tried different combinations of the opacity settings as well but the 'pointiness' does not go away. Is there something wrong with the way I store the data and load it into Visit?
Any help would be appreciated!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions