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 17:43:32 EDT (-0400)
  Re: How to address last 2 components of 5-component vectors?  
From: Le Forgeron
Date: 10 Jul 2016 02:50:38
Message: <5781f03e$1@news.povray.org>
Le 10/07/2016 02:32, Jim Holsenback a écrit :
> 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
> 

nice.
On the Vector Expression page, I like the "Dot Item Access for Colors", yet I would
add a note in parenthesis after that link about 5D vector that can be considered as
color. Because the head of the page states that Vector can be 5D for colors, and
actually the vector in
Spline can also be 5D (as well as some vector functions can return up to 5 terms), so
it is not fully limited to colors.

Now, the single letter (x,y,z,t) is a nice sequence which could enjoy a fifth letter,
but I do not know the usage in math for 5D. Obviously u & v are already disqualified.


Post a reply to this message

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