Scalar Field color ramping

Feel free to ask any question here
Post Reply
silvermanphoto
Posts: 4
Joined: Fri Dec 30, 2022 8:14 am

Scalar Field color ramping

Post 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
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Scalar Field color ramping

Post 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
Daniel, CloudCompare admin
Post Reply