POV-Ray : Newsgroups : povray.general : clock negative value ? : clock negative value ? Server Time
8 Jul 2024 12:25:25 EDT (-0400)
  clock negative value ?  
From: rodv92
Date: 9 Oct 2014 15:30:01
Message: <web.5436e1b3439ec9575d50475e0@news.povray.org>
Hello group, have you ever tried to use clock negative values ?

I have seriously miscalculated a motion equation based on clock and the easiest
solution would involve setting clock negative value to have the motion describe
a deceleration motion if clock is negative in the form :

z = -(1/2)*(clock)^2 + zpos1*clock + zpos2

and if positive :

z = 1/2*(clock)^2 + zpos1*clock  + zpos2

That vould make the object decelerate, nearly stop for clock = 0 and then
accelerate again without me having to modify rhe rest of the scene which would
be quite a long task.

and it would be quite neat, too.


but is does not seem to work, alas.


Post a reply to this message

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