write_render_to_gltf

cosipy.postprocessing.vtk_plots.plot_cosipy_fields_vtk.write_render_to_gltf(render, variable, timestamp)[source]

Writes rendered image to a 3D .gltf object.

Raises:

AttributeError – GLTF export is only supported in VTK >9.2.

Parameters:
  • render (vtkRenderer)

  • variable (str)

  • timestamp (str)