Closed derekeden closed 2 years ago
I was able to figure out the vtkWarpScalar after a couple hours of going in circles :) probably not hard if I knew what I was doing..
now to work on the clipping..
Could you please send the data file that I want to exercise this example you had done.Thank you very much.
just remove the .txt from the file name, github wouldn't let me upload the file with the existing extension
Thank you @derekeden
On Fri, 16 Jul 2021 at 01:20, derekeden @.***> wrote:
dfs2output.vtk.005.txt https://github.com/tkeskita/BVtkNodes/files/6825071/dfs2output.vtk.005.txt
just remove the .txt from the file name, github wouldn't let me upload the file with the existing extension
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-880877324, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547CHWK5GZVD5WDKOA5LTX4KHHANCNFSM5AKNDP7Q .
If you figure out how to do clip by scalar please let me know
On Wed, Jul 14, 2021, 02:55 brioglade @.***> wrote:
Could you please send the data file that I want to exercise this example you had done.Thank you very much.
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-879642347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXT63RIXH3X43HXS4BOYZTTXUYHFANCNFSM5AKNDP7Q .
OK.π
On Fri, 16 Jul 2021 at 12:48, derekeden @.***> wrote:
If you figure out how to do clip by scalar please let me know
On Wed, Jul 14, 2021, 02:55 brioglade @.***> wrote:
Could you please send the data file that I want to exercise this example you had done.Thank you very much.
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-879642347 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AIXT63RIXH3X43HXS4BOYZTTXUYHFANCNFSM5AKNDP7Q
.
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-881174233, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547GYCYDPQXTFO3XMC7DTX622RANCNFSM5AKNDP7Q .
hi, why I can't get the rendering image since there is no error? [image: image.png]
On Fri, 16 Jul 2021 at 14:13, Sam Tang @.***> wrote:
OK.π
On Fri, 16 Jul 2021 at 12:48, derekeden @.***> wrote:
If you figure out how to do clip by scalar please let me know
On Wed, Jul 14, 2021, 02:55 brioglade @.***> wrote:
Could you please send the data file that I want to exercise this example you had done.Thank you very much.
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-879642347 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AIXT63RIXH3X43HXS4BOYZTTXUYHFANCNFSM5AKNDP7Q
.
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-881174233, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547GYCYDPQXTFO3XMC7DTX622RANCNFSM5AKNDP7Q .
I can't see the image you posted can you try again
[image: image.png]
On Sat, 17 Jul 2021 at 04:48, derekeden @.***> wrote:
I can't see the image you posted can you try again
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-881709665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547GRPN4QZUPV64AO34TTYCLJ5ANCNFSM5AKNDP7Q .
hi, https://drive.google.com/file/d/1WPfs-Mz5P3YvKvOrbiVdodj2RqImjQda/view?usp=sharing Could you please have a see?I can't get the rendering image with vtknodes. Thank you very much.
On Sat, 17 Jul 2021 at 08:51, Sam Tang @.***> wrote:
[image: image.png]
On Sat, 17 Jul 2021 at 04:48, derekeden @.***> wrote:
I can't see the image you posted can you try again
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-881709665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547GRPN4QZUPV64AO34TTYCLJ5ANCNFSM5AKNDP7Q .
Quick comments: please use github web interface, it works better. For clipping see this example in the docs.
Thank you@Tuomo How to get the vtkUnstructuredgridoutlinefilter?
On Mon, 19 Jul 2021 at 23:41, Tuomo Keskitalo @.***> wrote:
Quick comments: please use github web interface, it works better. For clipping see this example in the docs https://bvtknodes.readthedocs.io/en/latest/ug_nodes.html#iso-surface.
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkeskita/BVtkNodes/issues/62#issuecomment-882651623, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE547DCUTNMEIZZLVM4TFDTYRBQXANCNFSM5AKNDP7Q .
sorry accidentally clicked close so had to reopen... I will test this out on both surface and volume data shortly and let you know how it works out for me... my concern is that if I use an isosurface, it will create a hollow shell with just 1 contour value. In paraview when you clip by scalar, it's like clipping everything above/below a certain value (as opposed to just one value)...and particularly for volume data, after clipping by scalar there is still internal data in the clipped mesh (i.e. you could slice the clipped mesh)..
I could be totally confusing myself, and will let you know once I've tried with some real data
@derekeden if you need to exclude some cells, you can try vtkThreshold
.
@brioglade not sure what you mean? Please check the examples in the docs. Also please use github web interface when replying.
Hi,
First I just wanted to say thank you SO much for maintaining this repo. As someone who's been dabbling with Blender for a couple years, but am used to doing model renderings in Paraview, Python and various other software, this is absolutely amazing.
I was hoping you could clarify a couple things so I can understand how to use a couple of the VTK functions in Blender. Specfically, I am trying to figure out :
vtkClipDataSet and vtkWarpScalar
For clipping, I'm just trying to figure out what I actually need to pass in here. What is ClipFunction supposed to be or are you able to give me an example?
This is what my nodes look like now:
I get an error that it can't do the clip without a clipping function.
My aim is to do a clip by scalar, using a function like:
Variable_Data >= -999
like in paraview:
Can you give me an idea how to do this?
For warp scalar, I am trying to warp the z axis of the surface by the scalar value. Like this in paraview:
I've tried a couple different things with the BVTK node and couldnt get it to work..
Are you able to give me an example how I can warp the surface by a scalar?
I tried using Custom Code by adding:
AddArray(vtk.vtkDataObject.POINT, "Surface_elevation")
and in vtkPassArrays.. also tried using a vtkArrayCalculator..
I'm honestly not that familiar with VTK itself and really don't know what I'm supposed to be giving it.
Can you point me in the right direction?
FYI I know I need to connect these to a to Blender node to create the blender mesh.. I've just screenshotted the minimum to show you what I'm trying to do.