|
|
Jim Holsenback <spa### [at] nothanksnet> wrote:
> OK ... so please be a bit more specific. What /exactly/ is "bad" and
> needs clarification. Comment on the talk page and I'll work it into the
> docs.
Jerome posted at
http://wiki.povray.org/content/Reference_Talk:Vector_Expressions
"The page Vector sends to Numeric Expression, but that one dismiss any details
about DOT_ITEM by sending back to Vector / Colour Pages, none of which cover the
subject."
I think that addressing the following ought to explicitly, clearly and
unambiguously describe what the values are as well as show examples of their
usage.
(I'm assuming that Vector.gray = (Vector.red + Vector.green + Vector.blue)/3
and that would be a helpful tidbit in the docs as well. )
#version 3.7;
global_settings {assumed_gamma 1.0}
#include "debug.inc"
Set_Debug (true)
#declare Vector = <1, 2, 3, 4, 5>;
#debug concat( "Vector.x = ", str(Vector.x, 3, 0), "\n")
#debug concat( "Vector.red = ", str(Vector.red, 3, 0), "\n")
#debug concat( "Vector.u = ", str(Vector.u, 3, 0), "\n\n")
#debug concat( "Vector.y = ", str(Vector.y, 3, 0), "\n")
#debug concat( "Vector.green = ", str(Vector.green, 3, 0), "\n")
#debug concat( "Vector.v = ", str(Vector.v, 3, 0), "\n\n")
#debug concat( "Vector.blue = ", str(Vector.blue, 3, 0), "\n")
#debug concat( "Vector.z = ", str(Vector.z, 3, 0), "\n\n")
#debug concat( "Vector.t = ", str(Vector.t, 3, 0), "\n")
#debug concat( "Vector.filter = ", str(Vector.filter, 3, 0), "\n\n")
#debug concat( "Vector.transmit = ", str(Vector.transmit, 3, 0), "\n\n")
#debug concat( "Vector.gray = ", str(Vector.gray, 3, 0), "\n\n")
Post a reply to this message
|
|