Page 1 of 1

Nan color as RGB color (Edit->Colors->Set unique)

Posted: Mon Aug 03, 2020 10:42 am
by davidstanley
Hello,

Thank you kindly for your wonderful software - it is a truly fantastic tool.

A request:

Could Nan value colour in scalar fields be set as the RGB colour that can be set using "Edit -> Colors -> Set unique" for a selected mesh ?

I am having trouble plotting a scalar field in two/three tone colour scale (to cover signed values) that is easily understandable by someone who is red-green colour blind, such as myself. I have settled on a colour scale that changes from blue to white (around 0) to red. However, the Nan value grey colour is lighter and closer to the bright white colour than I would like (when viewing a mesh using the EDl shader), for ease of distinguishing between values of the scalar field close to zero and regions for which the scalar field has no value.

Rather than alter the specific shade of the current grey colour for Nan values, which would be a change that would effect everyone and perhaps some in adverse ways, I thought that the Nan value colour could be user-alterable or else perhaps just linked to the RGB colour that can be set for an entire mesh, as this functionality already exists and is so might be fairly straight forward to implement?

Re: Nan color as RGB color (Edit->Colors->Set unique)

Posted: Fri Aug 07, 2020 8:52 pm
by daniel
Hi,

That's an interesting suggestion. This should be added to the TODO list, but I'm not sure when this can be done (it will require someone with some time to do it ;).