POV-Ray : Newsgroups : povray.general : I was disappointed with six lines : Re: I was disappointed with six lines Server Time
8 Aug 2024 06:17:40 EDT (-0400)
  Re: I was disappointed with six lines  
From: Ron Parker
Date: 8 May 2001 10:54:48
Message: <slrn9fg25s.ik2.ron.parker@fwi.com>
On Tue, 8 May 2001 16:50:05 +0200, Wlodzimierz ABX Skiba wrote:
>I have also changed condition for while
>from #while(vlength(B-E)>.1) to #while((E-B).x>.1)
>
>Considering that you are going from B to E
>you can take length between B and E
>but you can also take segment BE
>and take one of coordinates

Those two things aren't entirely equivalent, unless you can guarantee that
E and B have the same y and z coordinates.  The substitution might be good
enough for this purpose, but it won't work in general.

-- 
#local R=<7084844682857967,32787982,826975826580>#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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