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
3 May 2024 00:18:33 EDT (-0400)
  Re: How to address last 2 components of 5-component vectors?  
From: Jim Holsenback
Date: 7 Jul 2016 14:04:09
Message: <577e9999$1@news.povray.org>
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.

OK ... that's something I can work with, thanks for the clarification :-)

> In that section, the illustration of dot item with a basic example. Such as:
>
> #declare Vector = < 1, 2, 3, 4, 5>;
> #declare First_Component_1 = Vector.red;// 1
> #declare First_Component_2 = Vector.u;// 1
> #declare First_Component_3 = Vector.x;// 1
> #declare Second_Component_1 = Vector.green;// 2
> #declare Second_Component_2 = Vector.v;// 2
> #declare Second_Component_3 = Vector.y;// 2
> #declare Third_Component_1 = Vector.blue;// 3
> #declare Third_Component_2 = Vector.z;// 3
> #declare Fourth_Component_1 = Vector.filter;// 4
> #declare Fourth_Component_2 = Vector.t;// 4
> #declare Fifth_Component = Vector.transmit;// 5
>
> (and repeat with a Colour= rgbtf <...> )
>
> The section need a visible title (visible in Table of content)
>
> // Above text was also added into the talk page. Best regards.
>


Post a reply to this message

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