POV-Ray : Newsgroups : povray.general : Meaning of rgbft? : Re: Meaning of rgbft? Server Time
5 Nov 2024 18:22:12 EST (-0500)
  Re: Meaning of rgbft?  
From: Micha Riser
Date: 14 Feb 2003 11:44:23
Message: <3e4d1ce7@news.povray.org>
Micha Riser wrote:

> 
> That is given
> P: a point on a surface
> f: filter value at P
> t: transparency at P
> l: colour that would be the result from enlighting the point if t were
> zero 
> o: colour that is "coming from the other side of the surface", e.g.
> would be the result if t=1 and f=0

I forgot one variable
p: rgb colour of pigment at point P

for f=0 I would suggest (quite sure about this):
 resultingcolour = (1-t)*l + t*o

and for t=1 my guess is something like
 resultingcolour = f*(p*o) + (1-f)*o  

where '*' is the componentwise multiplication

-- 
POV-Ray Objects Collection: http://objects.povworld.org


Post a reply to this message

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