|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
[...]
> Assuming that your cells pattern has a pigment_map associated with it ...
>
> Why don't you change the definition of the pigments in the map by interpolating
> between two rgb values per map entry?
>
> Probably best to do this around the HSV wheel, rather than directly in
> rgb-space, otherwise you usually cross through a gray-region....
Yes, I have a pigment_map, mainly to convert the greyscale (well, scalar) values
of `cells` to some colors. Currently I have:
------
color_map {
[0.00 color Red]
[0.17 color Yellow]
[0.33 color Green]
[0.50 color Cyan]
[0.66 color Blue]
[0.83 color Magenta]
[1.00 color Red]
}
------
Problem though, is how to vary the color_map entries by `clock`?
P.S. Oh nevermind, just realized povray allows the color part of each entry to
be variable. So I could do something like Red + Green*clock, Green + Blue*clock,
etc., to get what I want.
Thanks for the idea!
Post a reply to this message
|
|