How to render measurement results (SVGText) using WebGL to maintain consistency during scene transformations?

Hi,

When using measurement tools (e.g., vtkLineWidget), the SVG-based text labels don’t rotate/zoom with the 3D scene, causing visual inconsistency.

Questions:

  1. Is there a recommended approach to render these labels using WebGL instead of SVG?
  2. Are there plans to support 3D-transformable text annotations?

I’d like to make measurement results behave like 3D objects (perspective-aware, camera-facing). Any guidance would be appreciated!

Thanks!

You must not use SVG based text if you want your text in the 3D world. You might want to look at vtkCubeAxesActor instead. There is also work in progress with vtkTextActor.