Page 1 of 1

Scalar Field color ramping

Posted: Wed Mar 22, 2023 4:52 am
by silvermanphoto
Daniel, could I please have a little guidance on how to set the scalar field gradient, so that the model ramps through all four colors over a very short Z range (the entire color range over, say 30 meter elevation change).

Thanks!
Joel

Re: Scalar Field color ramping

Posted: Sat Mar 25, 2023 8:38 am
by daniel
Do you mean the Color Scale gradient?

You could get inspiration from the HSV/HSL color spaces, and use 6 steps at regular distances: red --> yellow --> green -> light blue --> dark blue --> magenta (--> red)

See https://en.wikipedia.org/wiki/HSL_and_HSV