|
|
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 12-2-2023 om 15:36 schreef Bald Eagle:
> > With regard to the color_map, I'll say that this is just another example of
> > making the hard-coded data in your scene difficult to nearly impossible to
> > manipulate. You might consider storing all of that data in an array, and then
> > building the color map from that. Then you can mathematically manipulate the
> > index values any way you want. It's also very useful in case you want to embed
> > "lines" into a map - in order to make grids, or bracket a region of something,
> > or fix an uneven-looking map that doesn't get interpolated the way that you want
> > visually.
> >
> This is interesting. Can you give an example on how to tackle that? I am
> not sure if I understand correctly.
Too see an example of how to do something along those lines, you can
have a look in the Color_Maps.inc file, which can be found here:
https://github.com/t-o-k/POV-Ray-color-maps
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
|