POV-Ray : Newsgroups : povray.general : Retrieving Speed from Moving object : Re: Retrieving Speed from Moving object Server Time
4 Aug 2024 16:08:07 EDT (-0400)
  Re: Retrieving Speed from Moving object  
From: Rafal 'Raf256' Maj
Date: 4 Apr 2003 22:42:14
Message: <Xns93543A8272452raf256com@204.213.191.226>
"Tim Nikias v2.0" <tim### [at] gmxde> wrote in 
news:3e8e209c@news.povray.org

> not be the same size, not to mention will never rotate,
> won't give me the possibility to calculate the speed.

vlength(newPos - oldPos) / clock_delta

where newPos and oldPos is one of box corners ?

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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