POV-Ray : Newsgroups : povray.beta-test : <1, 0, 0> + 1*t : <1, 0, 0> + 1*t Server Time
2 Nov 2024 03:14:03 EDT (-0400)
  <1, 0, 0> + 1*t  
From: mm
Date: 21 Jan 2002 01:20:13
Message: <3c4bb31d$1@news.povray.org>
I don't know if it is a bug or intended, but it caused me some loss of time
: the <1, 0, 0> + 0.5*t  yields <1, 0, 0, 0> and not <1, 0, 0, 0.5> as
expected (by me!). (This happens whatever the number at the place of 0.5)
Additions <1, 0, 0> + t, <1, 0, 0> + t*1, or 1*t + <1, 0, 0> yield <1, 0, 0,
1>!

#macro V4Show(S, V)
#debug concat(S, ": ", str(V.x,6,2), ", ", str(V.y,6,2), ", ",str(V.z,6,2),
", ",str(V.t,6,2), "\n")
#end

#declare vvv = <1, 0, 0> +1*t;
V4Show("vvv ",vvv)


Post a reply to this message

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