vtkScalarBarActor in WebAssembly

I solved my immediate issue by modifying the vtkScalarBarActor code by setting point scalars instead of cell scalars on the scalar bar polydata object. This works in this instance, but anytime you use a vtkPolyDataActor2D with cell scalars it will fail when using WebAssembly. Hope this helps someone else in the future. I am just not good enough to re-implement texture buffers in OpenGL ES.

1 Like