POV-Ray : Newsgroups : povray.animations : Dodge on povray : Re: Dodge on povray Server Time
16 Apr 2024 15:12:03 EDT (-0400)
  Re: Dodge on povray  
From: dick balaska
Date: 1 Jun 2018 17:01:38
Message: <5b11b432$1@news.povray.org>
On 06/01/2018 02:40 PM, Saxoalex wrote:
> Hi !

> //Annimation
> #declare POS_G = <0, 1, -12+20*clock>;
> #declare POS_R = <-10+20*clock, 1, -2>;
> #declare Diff = POS_G.x - POS_R.x;
> #if ( abs(Diff.x) < 4*Epaisseur )
>      #declare POS_G = <POS_G.x+(1/Diff.x+1), POS_G.y, POS_G.z>;

try
#declare Diff = vlength(POS_G - POS_R);
#debug concat("Longueur = ", str(Diff,0,2), "\n")

-- 
dik
Rendered 328976 of 330000 (99%)


Post a reply to this message

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