Skip to content

vtk.wasm - improve memory usage for rendering/IO

  • closes #18848 (closed)
  • adds new OpenGL polydata mapper with low memory footprint.
  • adds new SetInputArray method for vtkXMLReader.
  • adds PBR functionaility to vtkGLSLModLight and enables it in the new mappers (this is sufficient for PBR in vtk.wasm with opengl)

It should now be possible to open and render files in the range (0.8-1.2 GB) with any of the xml readers in vtk-wasm32.

Memory stats - https://docs.google.com/document/d/140_rx6J8ScuxFqnLMYn3ADFitS7tCvmsMfl1uGGLVTQ/edit?usp=sharing

Edited by Jaswant Panchumarti (Kitware)

Merge request reports