|
|
On 3/20/2017 8:14 AM, clipka wrote:
>> Also, I don't understand why I can color each triangle by converting XYZ
>> to RGB and have the result look okay, but when I try to do the same
>> thing with a function the result is messed up (unless I follow your
>> method).
>
> That's because when you colour individual triangles you're using the
> colour conversion function directly; but when you're using (an average
> of multiple) function pigments, the function is used via a pattern,
> where an implicit mod(f,1) is applied to the function, wrapping around
> values outside the range 0..1 (e.g. a function value of 1.1 gets
> translated to a colour map index of 0.1).
>
> Or at least that's what I presume you're seeing. Been there, seen that.
>
Is there a way to disable the wrapping using a keyword? It might make a
nice feature addition.
Mike
Post a reply to this message
|
|