"tutki" <nomail@nomail> wrote:
> Huh, the map indices are allowed to be variable too?? Wow my grasp of SDL is a
> lot weaker than I thought. :-D
Sure - they are just "values". You can use a variable name, or an equation for
I will often do things with "lines" or bands of color that I want to control the
spread of across the color map, and I'll define a half-width (hw) of that
region, and then use n-hw and n+hw as index entries.
> > colors.inc has a macro called CHSV2RGB in case the direct rgb variation doesn't
> > provide what you want.
> > https://wiki.povray.org/content/Reference:Colors.inc
> Ohh, that looks very useful, thanks!
Sure - color interpolation has been discussed at some length a few times in the
past. I find the HSV space to be useful since it is continuous in "colors" and
doesn't dip down into the grayscale regions.
Post a reply to this message