POV-Ray : Newsgroups : povray.general : POV-Lab: plans and discussions : Re: POV-Lab: plans and discussions Server Time
4 May 2024 09:56:27 EDT (-0400)
  Re: POV-Lab: plans and discussions  
From: Thomas de Groot
Date: 13 Feb 2023 02:31:11
Message: <63e9e73f@news.povray.org>
Op 12/02/2023 om 19:55 schreef Tor Olav Kristensen:
> 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
> 

Bill and Tor, many thanks for your explanations! I had not been aware of 
this until now. Going to have a good look and play happily in the 
POV-garden for a while. :-)

-- 
Thomas


Post a reply to this message

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