POV-Ray : Newsgroups : povray.unix : FYI. Watch out for bad color to grey value conversions. : Re: FYI. Watch out for bad color to grey value conversions. Server Time
24 Apr 2024 04:27:36 EDT (-0400)
  Re: FYI. Watch out for bad color to grey value conversions.  
From: Ash Holsenback
Date: 31 Jan 2021 13:23:32
Message: <6016f5a4$1@news.povray.org>
On 1/31/21 10:49 AM, Cousin Ricky wrote:
> On 2021-01-31 2:06 AM (-4), William F Pokorny wrote:
>> On 1/31/21 12:44 AM, William F Pokorny wrote:
>>> On 1/30/21 1:46 PM, Le_Forgeron wrote:
>> ...
>>> The block at the top is acting like there are only 4 color channels 
>>> moving 't' to the fourth channel and not supporting 'f'. The bottom 
>>> block with the longer names is acting like there are 5 color channels 
>>> still with both filter and transmit.
>>>
>>> How is this code consistent? Seems to me only one or the other can be 
>>> right - meaning one set is wrong. Am I missing something?
>>>
>> ...
>>
>> And I am missing something. Just popped into my head. The t doesn't 
>> stand for transmit. It's just a character index into the last entry of 
>> a 4D vector (time?). I shouldn't post on getting up in the middle of 
>> the night - no coffee at all in my system. :-|
> 
> That's one of the more confusing aspects of POV-Ray.  For clarity, I 
> only use .t when I'm dealing with non-color 4-D vectors; for colors, I 
> spell out .filter and .transmit.
> 
> Maybe it should be spelled out in the docs in Impact or Arial Black: .t 
> DOES NOT STAND FOR TRANSMIT!

here: ???
http://wiki.povray.org/content/Reference:Vector_Expressions#Dot_Item_Access_for_Vectors


Post a reply to this message

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