POV-Ray : Newsgroups : povray.binaries.animations : Walking penguin gif animation 500kb : Re: Walking penguin gif animation 500kb Server Time
1 Jul 2024 23:38:18 EDT (-0400)
  Re: Walking penguin gif animation 500kb  
From: Chris B
Date: 22 Aug 2006 07:29:49
Message: <44eaeaad$1@news.povray.org>
> And I need the clock to go from 0-1 four times.
> Can this be done, and if so; how?

Oh yes, and to get 0-1 four times from a value of MyClock that goes from 0-4 
you can use:

#declare PointInCycle = mod(MyClock,1)

which gives you the remainder after an integer division by 1.

Regards,
Chris B.


Post a reply to this message

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