POV-Ray : Newsgroups : povray.general : Dumb clock animation question : Re: Dumb clock animation question Server Time
18 May 2024 12:48:11 EDT (-0400)
  Re: Dumb clock animation question  
From: Mike Horvath
Date: 17 Feb 2019 06:09:29
Message: <5c6940e9$1@news.povray.org>
On 2/17/2019 5:36 AM, Mike Horvath wrote:
> This involves probably some very easy algebra.
> 
> I want a cylinder to spin 360 degrees when the clock is between 0 and 
> 0.6667. I want another object to spin when the clock is between 0.3333 
> and 0.6667. Finally I want the camera to rotate 90 degrees when the 
> clock is between 0.6667 and 1.
> 
> How do I set this up? Thanks.
> 
> 
> Michael


PS - I was thinking of maybe a macro that takes a start time and an end 
time, and outputs a value between 0 and 1?


Michael


Post a reply to this message

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