POV-Ray : Newsgroups : povray.binaries.images : <no subject> : Re: <no subject> Server Time
27 Apr 2024 18:44:09 EDT (-0400)
  Re: <no subject>  
From: Melody
Date: 21 Dec 2019 03:50:00
Message: <web.5dfddb2a6f92e8569da690110@news.povray.org>
#local d = 4 * (1/20);
 #if (fr > 178) #declare speed = _clamp(speed-d,0,4); #end
 // I cant believe I wrote that expecting it to work, and it did.
 // how did that work? it had to remember from last frame?

evidence of remembering a var from past frame?
 or twilight zone? ever been there?
  saw speed go to 0 by frame 200 in the vid!?!?!
that was the only line to change speed value of 4.

 // everything else expects it to start over. like this
 #if (fr > 178) #declare speed = _clamp(4 - 4 * ((fr-178)/20),0,4);


Post a reply to this message

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