You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging scalar quantities, I find myself often overlooking NaN values, because as it stands, they (seem to) get mapped to zero. It'd be nice if we could specify the color that NaN values should map to, so they're easier to distinguish. perhaps as an extra optional<glm::vec3> argument (if empty, default to current behaviour) argument would help.
The text was updated successfully, but these errors were encountered:
berendbaas
changed the title
Seting default color for NaN/inf in addScalarQuantity
Seting default color for NaN in addScalarQuantitySep 12, 2024
I tried implementing it in #312 . Unfortunately, I'm having getting any sane/consistent behavior from isinf() and isnan() in glsl shaders, so it doesn't really work.
While debugging scalar quantities, I find myself often overlooking NaN values, because as it stands, they (seem to) get mapped to zero. It'd be nice if we could specify the color that NaN values should map to, so they're easier to distinguish. perhaps as an extra
optional<glm::vec3>
argument (if empty, default to current behaviour) argument would help.The text was updated successfully, but these errors were encountered: