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
210 stars 64 forks source link

2D Label map rendering #297

Closed thewtex closed 3 years ago

thewtex commented 4 years ago

Initialization does not appear to be working correctly for 2D label maps, e.g. the attached. cthead_labels.nrrd.zip

cthead_labels

In the console, we get:

[.WebGL-0x278c5511a800]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: invalid internalformat/format/type combination GL_R8_EXT/GL_RG_EXT/GL_UNSIGNED_BYTE

scottwittenburg commented 4 years ago

Thanks for sharing the data to reproduce, I'll take a look.

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 11.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: