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 08:35:26 EDT (-0400)
  Re: How to address last 2 components of 5-component vectors?  
From: Le Forgeron
Date: 7 Jul 2016 14:43:53
Message: <577ea2e9$1@news.povray.org>
Le 07/07/2016 20:06, Bald Eagle a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
> 
>> It is documented at least in
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.2
> 
> Also,
> That wiki link has incorrect information, leading an unsuspecting person to
> believe that
> 
> fn_Pigm( ).x | fn_Pigm( ).u | fn_Pigm( ).red
> to get the red value of the color vector
> fn_Pigm( ).y | fn_Pigm( ).v | fn_Pigm( ).green
> to get the green value of the color vector
> fn_Pigm( ).z | fn_Pigm( ).blue
> to get the blue value of the color vector
> fn_Pigm( ).filter | fn_Pigm( ).f
> to get the filter value of the color vector
> fn_Pigm( ).transmit | fn_Pigm( ).t
> to get the transmit value of the color vector
> 
> When:
> there is no .f,
> ..t is for filter,
> and .transmit is the only dot notation to access the 5th term.
> 
> Edit or delete that, or add an erratum note?

Add a note in the talk page, at the end of it. If possible, provide also the text you
would like to see.


Post a reply to this message

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