POV-Ray : Newsgroups : povray.general : Inverse colors : Re: Inverse colors Server Time
10 Aug 2024 15:24:02 EDT (-0400)
  Re: Inverse colors  
From: Bill DeWitt
Date: 28 Nov 1999 09:15:05
Message: <384138e9@news.povray.org>
"PoD" <pod### [at] merlinnetau> wrote :
>
> pigment{ rgbf <1,1,1,-1> }
> finish{ ambient 0.5 }  // this value threw me
>

    That makes a nice raised look (I am using text) but not quite an
inverse. What I want would be something that shows white over black ,black
over white, purple over green, green over purple... so that rgb<1,1,0> would
be rgb<0,0,1> etc.

    I would just manually (mathematically) change the pigment, but I want
one part of the object to show one value and the other part to show another
as it moves around. I think it could be done with media and I am going to
try today, but I would rather have a pigment.


Post a reply to this message

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