VTK, WebAssembly, and Annotations

I am porting my VTK C++ application to WebAssembly and it has worked great so far. I am getting ready to port my use of vtkLegendBoxActor, but I am concerned that it may not work. Am I correct that WebGL doesn’t support the annotation functions of OpenGL that VTK uses? If this is true are there alternatives?


I just tested a simple vtkTextActor implementation in WebAssembly and it is working in the browser. Hopefully this means the vtkLegendBoxActor works. I am also using vtkTextActor3D in my C++ application so I am hoping that will also work.


1 Like