BVtkNodes
BVtkNodes copied to clipboard
MultiBlockDataReader
Hi @tkeskita,
I have difficulties to use your addon for my OpenLB .vtm output files.
I have looked at your nice sample node setups, but could not deduce a working setup for my files
cavity3d_iT0003600.zip
.
What I tried is: (in Blender 2.8)
but when I update the CompositeCutter, no suitable input seems to be recognized.
I'd really appreciate if you could tell me what I've done wrong in this basic setup. At this point I'm just trying to get any visual representation of this data in blender as a starting point for exploring the addon. I guess this has more to do with VTK in general rather than your addon fork.
Hi, yes this is most likely VTK usage issue, not BVtkNodes issue. Maybe need some filter before vtkCompositeCutter? vtkGeometryFilter, or something? If I have more time at some point, I will check your data.
When I use vtkCompositeDataGeometryFilter, I only get the geometries outline displayed. But now I have been able to visualize a correct image with vtkResampleToImage and vtkCutter, but this is not a solution because of the initial interpolation. I would be happy if you could have a look at my sample data sometime, but I understand if we close the issue, because it is a VTK question.
Thanks for your input! :thumbsup:
Hi, I can see your data in Paraview, but I'm not sure why XMLMultiBlockDataReader does not show any field data being read in the Info node. See node example here for an OpenFOAM case.
I digged a bit deeper. Your data is multiblock data composed of 3D vtkImageData. So, the key here is to somehow merge blocks, and then to find VTK routines to process vtkImageData, or to convert image data into structured grid data and process that. Sorry to say I did not succeed in any of those (I haven't worked with image data before), so there is need to consult a VTK expert here. Maybe try discourse.vtk.org? Please link here if you find a solution.