POV-Ray : Newsgroups : povray.general : Slope ptoblem : Re: Slope ptoblem Server Time
5 Aug 2024 18:25:38 EDT (-0400)
  Re: Slope ptoblem  
From: Tim Nikias
Date: 6 Aug 2002 17:50:12
Message: <3d504494@news.povray.org>
AFAIK, when modifying the range of the slope

>   slope <0,-1,0>, 0, 0.5

like this, you still need a colormap which ranges from
0 to 1, not

>   color_map {
>     [0 Green]
>     [0.16 Brown]
>     [0.33 Black]
>     [0.5 White]
>   }

cause you ain't declared the section from .5 to 1.

The slopemap will still use the entire colormap, but
spread the colormap across a smaller scale of slopes...

You should read the docs again, it is in there, though
not mentioning "unfinished colormaps", but this
spreading... Here's a quote:

Lo_slope and Hi_slope specifies which range of slopes are used,
so you can control which slope values return which pattern values.
Lo_slope is the slope value that returns 0.0 and Hi_slope is the
 slope value that returns 1.0.

Quote end.

Regards,

Tim


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

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