POV-Ray : Newsgroups : povray.advanced-users : How to address last 2 components of 5-component vectors? : Re: How to address last 2 components of 5-component vectors? Server Time
17 May 2024 18:08:42 EDT (-0400)
  Re: How to address last 2 components of 5-component vectors?  
From: Le Forgeron
Date: 10 Jul 2016 08:37:58
Message: <578241a6@news.povray.org>
Le 10/07/2016 14:30, William F Pokorny a écrit :
> On 07/09/2016 08:32 PM, Jim Holsenback wrote:
>> On 7/7/2016 1:48 PM, Le_Forgeron wrote:
>>> I would suggest to leave "Numeric_Expressions" as it is so far, and
>>> adding, in both "Vector_Expressions" and "Colour_Expressions", a
>>> dedicated section about getting individual component out of a vector
>>> and colour.
>>
>>
http://wiki.povray.org/content/Documentation:Reference_Table_of_Contents#Scene_Description_Language
>>
> On the page:
> 
> http://wiki.povray.org/content?title=Reference:Color_Expressions
> 
> wondering about the brackets around rgbft? I think there is no reason for them.
> 
> COLOR_VECTOR:
>     rgb <3_Term_Vector>    |
>     rgbf <4_Term_Vector>   |
>     rgbt <4_Term_Vector>   |
>     [ rgbft ] <5_Term_Vector> |
>     srgb <3_Term_Vector>   |
>     srgbf <4_Term_Vector>  |
>     srgbt <4_Term_Vector>  |
>     srgbft <5_Term_Vector>
> 
> Bill P.

Actually, they are meaningful : a 5D vector would be interpreted as a rgbft colour
when nothing else is present (aka rgbft is implict).


Post a reply to this message

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