POV-Ray : Newsgroups : povray.animations : animation: streching of a cylinder : Re: animation: streching of a cylinder Server Time
6 Oct 2024 10:42:09 EDT (-0400)
  Re: animation: streching of a cylinder  
From: Jérôme Grimbert
Date: 19 Mar 2002 05:14:58
Message: <3C970FAE.7F6390AA@atosorigin.com>
Tanju Gurel wrote:
> 
> hi....
> i have a cylinder...
> for example
> from <0,0,0> to <1,1,1>
> and i want it to animate to
> <0,0,0> to <2,2,2>
> one side of the cylinder will stay.....
> can you help me?

#local where_it_end = <1,1,1>+clock; 
/* or whatever you want as function which please you */
cylinder { 0, where_it_end,0.1 }


Then simply use +KI0 +KF1 +KFI1 +KFF50 on the command line or .ini
for a 50 frames rendering in which the cylinder extend from <1,1,1> to <2,2,2>.


Post a reply to this message

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