Increasing Line thickness for VTP

I am trying to make the lines of my VTP diagram thicker. I tried to use setLineWidth but from what I can read it only works with OpenGL render Windows form this link:


Is there another way to do that? I just have a file consisting of lines segments connected to each other but due to the constraint of tubefilter not allowing coincidental points I can’t use it. Anyone have an idea on how to fix it?

AFAIK browser support for webgl line thickness is not well supported cross-browser, so vtk.js won’t be able to support it either.

Follow-up: it turns out WebGL doesn’t natively handle line thickness: https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/lineWidth. There are other ways to draw thick lines via instanced geometry, but vtk.js does not yet support any of these alternative techniques.

okay I understand, thank you!