POV-Ray : Newsgroups : povray.binaries.images : Problem with multi-layered texture : Re: Problem with multi-layered texture Server Time
5 Nov 2024 13:23:47 EST (-0500)
  Re: Problem with multi-layered texture  
From: clipka
Date: 2 Apr 2009 04:55:00
Message: <web.49d47c484290308ef708085d0@news.povray.org>
"gonzo" <rgo### [at] lansetcom> wrote:
>> - although the color for all parts outside the bezier spline is set to
>> rgbft 1

I just noticed this.

It's quite uncommon to set both filter and transmit to 1; it *may* have
undesired effects, for instance I wouldn't be surprised if it would multiply
the light intensity of the *deeper* layers by 2 (which would physically be
nonsense).

I suggest using rgbt 1, although rgbf 1 should to the same job.

> Not sure, but for what you are doing I think you just need the transmit and not
> the filter.  If I understand filter (and that's by no means certain) it
> averages all the layers, so rgbft 1 averaged with anything less than 1 will
> always be darker.

No, that's not the case. Filter multiplies the intensity of lower layers with
the upper layer's filter value *and* color, but as the color is plain white
(all 1's), it does not make a difference here.

(It is actually transmit that has a plain (weighted) averaging effect, but at
"transmit 1" the lower layer gets 100% weight and the upper one 0%, so even
there the lower layer is not dimmed.)


Post a reply to this message

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