|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I can't get the extended slope syntax to work. This code generates an
error:
#version 3.5;
#declare Foo = pigment {
slope <0,-1,0>, 0, 0.5
color_map {
[0 Green]
[0.16 Brown]
[0.33 Black]
[0.5 White]
}
}
I think I remember someone mention this or before the beta or before
the beta period, but I can't remember who nor what. It's just that the
docs say it should work and it does not.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You're forgetting brackets, try:
slope {<0,-1,0>, 0, 0.5}
...
And as Tim pointed out, if you specify 0 and .5, then you should have a
color map from 0 to 1, unless you want everything above .5 to be one solid
color.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 6 Aug 2002 21:07:58 -0400, "Slime" <slm### [at] slimelandcom> wrote:
>You're forgetting brackets, try:
>
>slope {<0,-1,0>, 0, 0.5}
I must be blind or something. Thanks!
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|