|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> pigment {
> gradient y
> color_map {
> perceptual
> [0.0 rgb 0]
> [0.5 rgb 1]
> [1.0 rgb 0.5]
> }
> }
> (The example also showcases the problem with the poly_wave workaround
> you mention, which only works for gradients running from [0.0 rgb 0] to
> [1.0 Some_Color].)
Now that you mention that, it's actually quite a problem. The
'poly_wave 2.2' indeed only works if you have one single color
transition from 0.0 to 1.0 in your color map (or pigment/texture map),
but doesn't work if there is more than one, as in your example. The
poly_wave function would have to be applied to every individual
transition, rather than the entire map, and this is just not possible.
As far as I can tell, there is no way in pov3.7 to replicate a pov3.6
color map (in terms of perceptual brightness) other than using the
'assumed_gamma 2.2' backwards compatibility trick, which then affects
*all* colors, not just the color map.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |