POV-Ray : Newsgroups : povray.animations : Scale animation problem : Scale animation problem Server Time
20 Apr 2024 02:41:40 EDT (-0400)
  Scale animation problem  
From: gregtom6
Date: 1 May 2011 10:55:00
Message: <web.4dbd7366493e38efc0be34760@news.povray.org>
Hy all!

My problem is the following:
#declare sk=1;
#if (clock<55)no_image
#end
#if(clock>=55)
#if((clock-54)*5<25.9)#declare sk=(clock-54)*5;
#else #declare sk=25.9;
#end
#end
scale <sk,sk,sk>

When clock reaches the 55 value, it should be scale in every clock after that,
and when sk would be =30, then it scale get 25.9.
My problem is nothing happens. But why?
the object I try to animate remains invisible.
Help me, pls.

If I write scale 25.9, the object appeares good.


Post a reply to this message

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