POV-Ray : Newsgroups : povray.general : POV-Lab: plans and discussions : Re: POV-Lab: plans and discussions Server Time
4 May 2024 14:51:23 EDT (-0400)
  Re: POV-Lab: plans and discussions  
From: Tor Olav Kristensen
Date: 12 Feb 2023 14:00:00
Message: <web.63e936081a311230501ba4b089db30a9@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.