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 10:51:56 EDT (-0400)
  Re: How to address last 2 components of 5-component vectors?  
From: Bald Eagle
Date: 7 Jul 2016 14:10:01
Message: <web.577e9a16ff0686005e7df57c0@news.povray.org>
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?


Post a reply to this message

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