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
|