POV-Ray : Newsgroups : povray.animations : animation: streching of a cylinder : Re: animation: streching of a cylinder Server Time
6 Oct 2024 10:11:56 EDT (-0400)
  Re: animation: streching of a cylinder  
From: K
Date: 9 Apr 2002 21:08:12
Message: <3cb3907c@news.povray.org>
just a minor note, I think Jerome meant
#local where_it_end = <1,1,1>*clock;
instead of + there is a *, since you aren't adding the clock value to the
point.

K

"Tanju Gurel" <tan### [at] ibuedutr> wrote in message
news:3c9726f7@news.povray.org...
> I have a sphere(atom)
> it animates from <1,1,1> to <1.2,1,1>
> and want cylinder(bond) to follow it...
> from <0,0,0> to <1,1,1>
> to
> from <0,0,0> to <1.2,1,1>
>
> thanks...
> Tanju
>

> news: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.