|
|
On 2/17/2018 2:55 AM, Thomas de Groot wrote:
> On 17-2-2018 6:24, Mike Horvath wrote:
>> I found a paper which proposes an alternate color interpolation for
>> the same glasses. Instead of using red, green and blue to encode
>> depth, the new method uses red, white and blue.
>>
>> https://graphics.tudelft.nl/Publications-new/2014/SE14a/
>>
>> How would I create a pigment that works like this? Thanks.
>>
>>
>
> Maybe this?
>
> pigment {
> gradient z
> color_map {
> [0.00 Red]
> [0.50 White]
> [1.00 Blue]
> }
> scale <1, 1, DepthOfScene>
> }
>
> Maybe you have to switch Blue and Red. Not sure.
>
Would spherical be better than gradient? That's what I've been using.
Mike
Post a reply to this message
|
|