Open mvdoc opened 2 years ago
Adding a note to myself that
Vertex
objects are displayed as transparent on quickflat, but not on webglVertexRGB
objects are not displayed as transparent on quickflat, but they are on webglEDIT: there seems to be an interaction with the dtype (obv. nans cannot be cast to uint8). Still investigating...
VertexRGB
objects. However, that PR doesn't fix the problem with Vertex
objects. I explored the code for a while, and I think the problem might be in how the JS functions load the data and treat nans. But I'm still unsure about how the JS code works, so we'll have to keep this issue open...
We known that NaNs are not handled well by the WebGL viewer for
Vertex
objects. However, it seems that the viewer can handle NaNs perfectly fine forRGBVertex
objects. We should investigate this difference and possibly figure out a fix for theVertex
objects.Example:
produces