picogl.renderer.colors
Provides functionality to attach RGBA colors to a mesh data object for use with a legacy isosurface renderer. The module operates by combining input colors with an opacity value derived from a given view state and assigns the resultant RGBA data to the mesh.
Functions: - attach_rgba_colors_to_mesh: Processes color data and attaches RGBA colors to
mesh data.
Functions
|
Attach RGBA colors expected by legacy isosurface renderer |
Module Contents
- picogl.renderer.colors.attach_rgba_colors_to_mesh(colors: numpy.ndarray, mesh_data: picogl.renderer.MeshData, view: elmo.ui.state.view.ViewState)[source]
Attach RGBA colors expected by legacy isosurface renderer