# Latest

**URL:** https://discourse.vtk.org/latest.md?page=88

[Latest](https://discourse.vtk.org/latest.md) · [Categories](https://discourse.vtk.org/categories.md) · [Tags](https://discourse.vtk.org/tags.md)

**Page:** 89

---

## [VTK planes not clipping volume using react-vtk-viewport](https://discourse.vtk.org/t/vtk-planes-not-clipping-volume-using-react-vtk-viewport/11334)

<div class="topic-metadata">

**Author:** [@afs84](https://discourse.vtk.org/u/afs84)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 2:35pm UTC](https://discourse.vtk.org/t/vtk-planes-not-clipping-volume-using-react-vtk-viewport/11334 "2023-05-03T14:35:31Z")

</div>

Hello, I have been working on this for over a month, and I’m pulling my hair over it. Basically i’m using the example from this page: https://github.com/OHIF/react-vtkjs-viewport/blob/master/examples/VTKVolumeRendering…

---

## [Line and ConvexHull2D Intersection](https://discourse.vtk.org/t/line-and-convexhull2d-intersection/11336)

<div class="topic-metadata">

**Author:** [@kruvva](https://discourse.vtk.org/u/kruvva)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 1:18pm UTC](https://discourse.vtk.org/t/line-and-convexhull2d-intersection/11336 "2023-05-03T13:18:40Z")

</div>

Hi, I am trying to find out the intersection of a ConvexHull2D and a line using vtkPolyData and vtkLineSource objects with the help of vtkIntersectionPolyDataFilter as shown below: intFilter = vtk.vtkIntersectionPolyDat…

---

## [is there any method in vtk to highlight camera view or visible faces ?](https://discourse.vtk.org/t/is-there-any-method-in-vtk-to-highlight-camera-view-or-visible-faces/11366)

<div class="topic-metadata">

**Author:** [@Vipul\_Kumar](https://discourse.vtk.org/u/Vipul_Kumar)\
**Replies:** 0\
**Last updated:** [May 3, 2023, 12:36pm UTC](https://discourse.vtk.org/t/is-there-any-method-in-vtk-to-highlight-camera-view-or-visible-faces/11366 "2023-05-03T12:36:36Z")

</div>

Basically , I am trying to use the given code to highlight the camera view faces ,but it is only culling the back faces, It’s also highlighting the hidden faces which is not expected .Here below is my code .can you help …

---

## [Ray Tracing in VTK - Capabilities in surface and volume Rendering - Own Implementation](https://discourse.vtk.org/t/ray-tracing-in-vtk-capabilities-in-surface-and-volume-rendering-own-implementation/11308)

<div class="topic-metadata">

**Author:** [@DMelenberg](https://discourse.vtk.org/u/DMelenberg)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 2:21pm UTC](https://discourse.vtk.org/t/ray-tracing-in-vtk-capabilities-in-surface-and-volume-rendering-own-implementation/11308 "2023-05-02T14:21:05Z")

</div>

Hello All, I am new to the community and have only recently started reading up on vtk and need support on the possibilities of this great library. Namely, I want to develop my own ray tracer in Python using the vtk lib…

---

## [Pedigree ID for a new displacement filter](https://discourse.vtk.org/t/pedigree-id-for-a-new-displacement-filter/11355)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [May 2, 2023, 2:06pm UTC](https://discourse.vtk.org/t/pedigree-id-for-a-new-displacement-filter/11355 "2023-05-02T14:06:14Z")

</div>

Hi Guys I am working on a few potential new filters. I already speeded up the vtkDistancePolyDataFilter a bit, but would like to have a vtkDisplacementFilter, which also provides “Direction” in addition to “Distance” Po…

---

## [Glyph3D filter but acting on polydata Vertices rather than points](https://discourse.vtk.org/t/glyph3d-filter-but-acting-on-polydata-vertices-rather-than-points/11305)

<div class="topic-metadata">

**Author:** [@Matthieu](https://discourse.vtk.org/u/Matthieu)\
**Replies:** 5\
**Last updated:** [May 2, 2023, 9:48am UTC](https://discourse.vtk.org/t/glyph3d-filter-but-acting-on-polydata-vertices-rather-than-points/11305 "2023-05-02T09:48:10Z")

</div>

Hi, is there a way to make the vtkGlyph3D filter acting on the Vertices (cells) of a polydata rather than the points ? I have a polydata with cells being triangles, lines, and vertices. I want a pipeline where I put tub…

---

## [Transient vtkHDFReader off by a step](https://discourse.vtk.org/t/transient-vtkhdfreader-off-by-a-step/11332)

<div class="topic-metadata">

**Author:** [@logantm2](https://discourse.vtk.org/u/logantm2)\
**Replies:** 5\
**Last updated:** [May 2, 2023, 10:57am UTC](https://discourse.vtk.org/t/transient-vtkhdfreader-off-by-a-step/11332 "2023-05-02T10:57:37Z")

</div>

It looks like the vtkHDFReader displays data off by one time step; that is, it’s showing data for step 1 as step 0, data for step 2 as 1, and so on. The last time step is a repeat of the second-to-last time step. This i…

---

## [\[Solved\] Detect which fields/input were not changed](https://discourse.vtk.org/t/solved-detect-which-fields-input-were-not-changed/11353)

<div class="topic-metadata">

**Author:** [@atalon-lip6](https://discourse.vtk.org/u/atalon-lip6)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 10:06am UTC](https://discourse.vtk.org/t/solved-detect-which-fields-input-were-not-changed/11353 "2023-05-02T10:06:08Z")

</div>

Hello, I am using vtk with paraview (but maybe without my question still has some meaning). I have a filter with let’s say a big distance matrix input and a small integer other parameter as a field. My case is the foll…

---

## [Guide: How do I use VTK-wasm webgpu experimental feature](https://discourse.vtk.org/t/guide-how-do-i-use-vtk-wasm-webgpu-experimental-feature/11164)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 2:00pm UTC](https://discourse.vtk.org/t/guide-how-do-i-use-vtk-wasm-webgpu-experimental-feature/11164 "2023-05-01T14:00:26Z")

</div>

As some people are already aware, there’s ongoing developments to leverage WebGPU in VTK-C++ desktop applications with Dawn - Google’s native implementation of WebGPU spec on top of Vulkan, OpenGL, OpenGLES, Metal, D3D11…

---

## [Update actors in Activiz 9.2](https://discourse.vtk.org/t/update-actors-in-activiz-9-2/9443)

<div class="topic-metadata">

**Author:** [@MarKara](https://discourse.vtk.org/u/MarKara)\
**Replies:** 3\
**Last updated:** [April 28, 2023, 12:13pm UTC](https://discourse.vtk.org/t/update-actors-in-activiz-9-2/9443 "2023-04-28T12:13:43Z")

</div>

In my application I have a similar option as in Paraview “Hover over cells” to show cell property using balloon widget and highlight hovered cell using vtkExtractSelection to extract cell from grid and update actor. The…

---

## [How to update a point cloud based on real-time data？](https://discourse.vtk.org/t/how-to-update-a-point-cloud-based-on-real-time-data/11226)

<div class="topic-metadata">

**Author:** [@zhangzhi93](https://discourse.vtk.org/u/zhangzhi93)\
**Replies:** 8\
**Last updated:** [April 28, 2023, 2:18am UTC](https://discourse.vtk.org/t/how-to-update-a-point-cloud-based-on-real-time-data/11226 "2023-04-28T02:18:52Z")

</div>

The data is sent periodically through WebSocket and needs to be updated in real time。Here are some of the methods I called, but they can’t render in real time, what’s the problem? const vtkPoints = vtkPoints.newInstance…

---

## [vtkRenderWindow from VTK 9.1.0 does not open from python 3.10.2 on M1 macbook on macOS 12.1](https://discourse.vtk.org/t/vtkrenderwindow-from-vtk-9-1-0-does-not-open-from-python-3-10-2-on-m1-macbook-on-macos-12-1/7971)

<div class="topic-metadata">

**Author:** [@pbaudin](https://discourse.vtk.org/u/pbaudin)\
**Replies:** 12\
**Last updated:** [April 28, 2023, 1:18am UTC](https://discourse.vtk.org/t/vtkrenderwindow-from-vtk-9-1-0-does-not-open-from-python-3-10-2-on-m1-macbook-on-macos-12-1/7971 "2023-04-28T01:18:51Z")

</div>

This simple tutorial code will not run correctly on my computer https://kitware.github.io/vtk-examples/site/Python/Tutorial/Tutorial\_Step1/ I’m running in a conda environment with: python 3.10.2 vtk 9.1.0 on macOS M…

---

## [clipping glyph3D, want matching colors](https://discourse.vtk.org/t/clipping-glyph3d-want-matching-colors/11335)

<div class="topic-metadata">

**Author:** [@Randy\_Heiland](https://discourse.vtk.org/u/Randy_Heiland)\
**Replies:** 0\
**Last updated:** [April 27, 2023, 10:08pm UTC](https://discourse.vtk.org/t/clipping-glyph3d-want-matching-colors/11335 "2023-04-27T22:08:25Z")

</div>

Is it possible to easily color the clipped faces of glyph3D the same color as the glyph (colored by a scalar)? Maybe I’m missing something obvious. Here’s a minimal test. Instead of white faces, I’d like them to match th…

---

## [Convex hull of set of points lying on a 3D plane](https://discourse.vtk.org/t/convex-hull-of-set-of-points-lying-on-a-3d-plane/11277)

<div class="topic-metadata">

**Author:** [@kruvva](https://discourse.vtk.org/u/kruvva)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 12:22am UTC](https://discourse.vtk.org/t/convex-hull-of-set-of-points-lying-on-a-3d-plane/11277 "2023-04-27T00:22:52Z")

</div>

Hi, How do I find the boundary of point cloud lying on a 3D plane. This plane is not parallel to XY or YZ or ZX planes. I am looking for the polygon on the plane that surrounds the point cloud. vtkConvexHull2D is supress…

---

## [vtkRenderWindow setDeviceIndex not worked?](https://discourse.vtk.org/t/vtkrenderwindow-setdeviceindex-not-worked/11311)

<div class="topic-metadata">

**Author:** [@Peng\_LEE](https://discourse.vtk.org/u/Peng_LEE)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 10:59pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-setdeviceindex-not-worked/11311 "2023-04-26T22:59:17Z")

</div>

Dear all: When there are four graphic cards in my linux server, the type of card is: RTX 2070. And If I set the device index 0, to my vtkRenderWindow(), and then render by rotate. And When I open nvidia-smi mode and d…

---

## [How to translate a volume with changing the data](https://discourse.vtk.org/t/how-to-translate-a-volume-with-changing-the-data/11251)

<div class="topic-metadata">

**Author:** [@MKRangers](https://discourse.vtk.org/u/MKRangers)\
**Replies:** 10\
**Last updated:** [April 26, 2023, 10:37pm UTC](https://discourse.vtk.org/t/how-to-translate-a-volume-with-changing-the-data/11251 "2023-04-26T22:37:41Z")

</div>

Hi, I need to translate my volume in the rendering space, and I need to change the whole underlying data, not just showing the volume at the desired coordinate. My volume data is stored in a vtkImageAlgorithm class (vtk…

---

## [Has anyone hooked up VTK to something like Apache Arrow](https://discourse.vtk.org/t/has-anyone-hooked-up-vtk-to-something-like-apache-arrow/11317)

<div class="topic-metadata">

**Author:** [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 9:57pm UTC](https://discourse.vtk.org/t/has-anyone-hooked-up-vtk-to-something-like-apache-arrow/11317 "2023-04-26T21:57:43Z")

</div>

Has anyone tried combining VTK with Apache Arrow for large scale, out-of-core visualization? We are expecting the data sizes that we currently process to become much larger than the memory on our workstations and the Apa…

---

## [the .vtu file to be generated is too big](https://discourse.vtk.org/t/the-vtu-file-to-be-generated-is-too-big/11290)

<div class="topic-metadata">

**Author:** [@meng\_deng](https://discourse.vtk.org/u/meng_deng)\
**Replies:** 2\
**Last updated:** [April 26, 2023, 6:57pm UTC](https://discourse.vtk.org/t/the-vtu-file-to-be-generated-is-too-big/11290 "2023-04-26T18:57:22Z")

</div>

I tried to use points and cell values to generate a hexahedral mesh with Python. But the final file was too large to store(\>40 GB, ) and the program crashed, size of the data is 164640(56 \* 60 \* 49). data.rar (882.1 KB) …

---

## [vtkDecimatePro sensitivity: subject to floating-point error and scale](https://discourse.vtk.org/t/vtkdecimatepro-sensitivity-subject-to-floating-point-error-and-scale/11292)

<div class="topic-metadata">

**Author:** [@Maximilien\_Mayya](https://discourse.vtk.org/u/Maximilien_Mayya)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 1:01pm UTC](https://discourse.vtk.org/t/vtkdecimatepro-sensitivity-subject-to-floating-point-error-and-scale/11292 "2023-04-26T13:01:10Z")

</div>

Hi, vtkDecimatePro seems to have slightly different outputs for the “same” input: vtkSmartPointer\<vtkPolyData\> createSphere( const double\* center, const double radius, const int phiRes = 30, const int the…

---

## [Getting Module not found error](https://discourse.vtk.org/t/getting-module-not-found-error/11289)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 11:26am UTC](https://discourse.vtk.org/t/getting-module-not-found-error/11289 "2023-04-26T11:26:21Z")

</div>

I am trying to add the code from this demo into my project. However, it is failing to find the two imported modules. Errors: Module not found: Error: Can't resolve 'vtk.js/Interaction/Manipulators' in '/.../.../itk-vt…

---

## [how to control multiple actors individually using vtk.js?](https://discourse.vtk.org/t/how-to-control-multiple-actors-individually-using-vtk-js/11304)

<div class="topic-metadata">

**Author:** [@SamuelSuhas](https://discourse.vtk.org/u/SamuelSuhas)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 11:24am UTC](https://discourse.vtk.org/t/how-to-control-multiple-actors-individually-using-vtk-js/11304 "2023-04-26T11:24:24Z")

</div>

Hello! All. I am using vtk.js and so far it has been great. I am able to render multiple actors in the render window. however, all my mouse interactions (zoom, pan, rotate) are applied to all the actors that are rendered…

---

## [rendering 3d elements on top](https://discourse.vtk.org/t/rendering-3d-elements-on-top/10839)

<div class="topic-metadata">

**Author:** [@nomis6432](https://discourse.vtk.org/u/nomis6432)\
**Replies:** 13\
**Last updated:** [April 26, 2023, 10:36am UTC](https://discourse.vtk.org/t/rendering-3d-elements-on-top/10839 "2023-04-26T10:36:17Z")

</div>

Hey, I’m creating a transformation tool that allows translating, rotating and scaling of polydata. To do this, I thought to create a structure within the 3d view that you can drag to transform the polydata like this: …

---

## [Error: GLSL 1.50 is not supported](https://discourse.vtk.org/t/error-glsl-1-50-is-not-supported/11281)

<div class="topic-metadata">

**Author:** [@wulawula](https://discourse.vtk.org/u/wulawula)\
**Replies:** 3\
**Last updated:** [April 25, 2023, 2:27pm UTC](https://discourse.vtk.org/t/error-glsl-1-50-is-not-supported/11281 "2023-04-25T14:27:41Z")

</div>

I get an error when I run mfix on my Linux system, does anyone know how to fix it

---

## [CMake flags used to compile Python wheel](https://discourse.vtk.org/t/cmake-flags-used-to-compile-python-wheel/10940)

<div class="topic-metadata">

**Author:** [@ffrancesco94](https://discourse.vtk.org/u/ffrancesco94)\
**Replies:** 4\
**Last updated:** [April 25, 2023, 12:02pm UTC](https://discourse.vtk.org/t/cmake-flags-used-to-compile-python-wheel/10940 "2023-04-25T12:02:13Z")

</div>

Hi, I was trying to go through the .ci/\*.cmake files to understand how exactly the Python3 wheels (mainly interested in Linux) are generated, but I found that many optional flags are not mentioned (thus I’m assuming set…

---

## [Rotating my volume using setUserMatrix results in a skewed volume](https://discourse.vtk.org/t/rotating-my-volume-using-setusermatrix-results-in-a-skewed-volume/6648)

<div class="topic-metadata">

**Author:** [@shanebenlolo](https://discourse.vtk.org/u/shanebenlolo)\
**Replies:** 26\
**Last updated:** [April 24, 2023, 9:05pm UTC](https://discourse.vtk.org/t/rotating-my-volume-using-setusermatrix-results-in-a-skewed-volume/6648 "2023-04-24T21:05:36Z")

</div>

hello, I am attempting to apply an Affine Transformation to my volume using the setUserMatrix method. I am using the rotation transformation, which is detailed here: This is my implementation, which occurs as a coor…

---

## [VTK 9.1, MINGW64 and Windows 10](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116)

<div class="topic-metadata">

**Author:** [@Andrea\_Gavana](https://discourse.vtk.org/u/Andrea_Gavana)\
**Replies:** 38\
**Last updated:** [April 24, 2023, 8:59pm UTC](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116 "2023-04-24T20:59:08Z")

</div>

Dear VTK Users and Developers, My apologies if this is not the right place to report this issue, I’d be happy to move the subject in another forum if needed. I have spent now two days trying to compile VTK from source …

---

## [CI failures in testing Linux wheels](https://discourse.vtk.org/t/ci-failures-in-testing-linux-wheels/11286)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 7:30pm UTC](https://discourse.vtk.org/t/ci-failures-in-testing-linux-wheels/11286 "2023-04-24T19:30:19Z")

</div>

Linux wheel testing is currently broken due to a new manylinux2014 container. Rather than trying to pin it for the few days it’s likely to remain broken for, just be aware that Linux wheel test job failures are (probably…

---

## [Stuck on getting colors from a Netcdf file to be rendered in opengl](https://discourse.vtk.org/t/stuck-on-getting-colors-from-a-netcdf-file-to-be-rendered-in-opengl/11287)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 7:23pm UTC](https://discourse.vtk.org/t/stuck-on-getting-colors-from-a-netcdf-file-to-be-rendered-in-opengl/11287 "2023-04-24T19:23:00Z")

</div>

I cant figure out how to display colors from a netcdf file to opengl im trying to get a netcdf color projection like what you will get if your using programs like Panoply or qgis etc… but the code i have only shows one c…

---

## [the .vtu file to be genenrated is so large while using python](https://discourse.vtk.org/t/the-vtu-file-to-be-genenrated-is-so-large-while-using-python/11283)

<div class="topic-metadata">

**Author:** [@meng\_deng](https://discourse.vtk.org/u/meng_deng)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:10pm UTC](https://discourse.vtk.org/t/the-vtu-file-to-be-genenrated-is-so-large-while-using-python/11283 "2023-04-24T15:10:45Z")

</div>

the .vtu file is so big that out of my memory… This is the first time I have used the vtk package. I can generate an object with 2 hexahedrons well, but when I try to generate an object with 164640 hexahedrons(566049), …

---

## [Change in rendering of semi-opaque solid meshes with edges enabled](https://discourse.vtk.org/t/change-in-rendering-of-semi-opaque-solid-meshes-with-edges-enabled/11120)

<div class="topic-metadata">

**Author:** [@ahall](https://discourse.vtk.org/u/ahall)\
**Replies:** 9\
**Last updated:** [April 24, 2023, 12:21pm UTC](https://discourse.vtk.org/t/change-in-rendering-of-semi-opaque-solid-meshes-with-edges-enabled/11120 "2023-04-24T12:21:44Z")

</div>

Hello. We recently updated from VTK 8.1.1 to VTK 9.2.6. It has been pretty smooth, but I have noticed one issue. vtk8 vtk9 This is with: SetRepresentationToSurface() SetEdgeVisibility(true) Opacity of less th…

[Previous page](https://discourse.vtk.org/latest.md?page=87)

[Next page](https://discourse.vtk.org/latest.md?page=89)
