POV-Ray : Newsgroups : povray.beta-test : [doc] language basics in quick ref : Re: [doc] language basics in quick ref Server Time
29 Jul 2024 20:24:44 EDT (-0400)
  Re: [doc] language basics in quick ref  
From: Thorsten Froehlich
Date: 13 Mar 2002 06:34:43
Message: <3c8f3953@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> This is not end of the problem. AFAIK .x .y .z and rest of operators cannot be
> used on typical vector expression inside user defined function. So my
> proposition is something like this:
>
> in Float Expressions:
>
> NUMERIC_EXPRESSION: (....) | VECTOR.DOT_ITEM | (....)
>
> DOT_ITEM: x|y|z|t|u|v|red|green|blue|filter|transmit|gray (hf excluded)
>
> in User-Defined Functions:
>
> EXPRESSION: (....) | VECTOR_FUNCTION_INVOCATION.FN_DOT_ITEM |
> COLOR_FUNCTION_INVOCATION.FN_DOT_ITEM | (...)
>
> FN_DOT_ITEM: DOT_ITEM | hf
>
> To the team - is this corect ?

I think so.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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