Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
209 stars 63 forks source link

Set colour for different layer in conglomerate image. #663

Closed jonSeetrue closed 1 year ago

jonSeetrue commented 1 year ago

@thewtex Hi is there a limit for the layer numbers with a conglomerate image? I would like to load many different Nrrd files into a conglomerate image and have the option of setting the color for each layer differently.

PaulHax commented 1 year ago

There is no limit to number of components in a conglomerate image. However, only 4 can be viewed at once.

jonSeetrue commented 1 year ago

is there a workaround for viewing more than 4 components? does this require a change in the code?

PaulHax commented 1 year ago

Can only hold up to 4 components in a WebGL texture. No workaround with the viewer's 3D rendering.