tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
117 stars 20 forks source link

Code for VTK to Blender #5

Open llaniewski opened 4 years ago

llaniewski commented 4 years ago

I am developing a plugin for Blender, which will allow to make ParaView pipelines in Blender. Paraview is a software for scientific visualization that uses VTK under the hood. I would like to copy some of the code from this plugin related to "VTK to Blender" conversion (VTK->BMesh). @tkeskita, I know that this plugin is under the GPL license, and my plugin also will be opensource, nevertheless I think it's good to say that I'll borrowing some of your code. I will appropriately annotate the code.

(I would gladly combine my plugin with yours, as ParaView objects wrap around VTK objects, but I think the underlying design of the plugins is for now too far off)

tkeskita commented 4 years ago

Hello @llaniewski ,

thanks for informing, that is fine for me! Most of the code is by original authors. I am curious though, why do you need Paraview pipelines? Do you have some special use case?

llaniewski commented 4 years ago

@tkeskita There are several advantages of using ParaView:

  1. ParaView has a client-server architecture, so the plugin could connect to the paraview server, which would do all the data-intensive stuff, and blender would focus on visuals. This can be done also locally, in which case you could run multi-threaded (MPI) server.
  2. ParaView is well known to scientific community, and the plugin just mirrors the settings from the ParaView interface
  3. Many people are using ParaView already, and the plugin will allow to make a pipeline in ParaView, and then load it in Blender.

The best solution would be if I could write my plugin around BVTKNodes, which would allow for a ParaView pipeline, and then a Fetch() node, and then some VTK pipeline, and finally VTK to Blender nodes. When I'll know how, I will do it like this :-)