POV-Ray : Newsgroups : povray.general : Transformations, Scaling on one axis : Re: Transformations, Scaling on one axis Server Time
2 Aug 2024 12:19:56 EDT (-0400)
  Re: Transformations, Scaling on one axis  
From: Slime
Date: 17 Oct 2004 12:40:56
Message: <4172a098$1@news.povray.org>
> What I'd like to do is make this object scale along the Y axis only as
part
> of an animation. The problem is that the transform commands only offer
> scale as a multiplier rather than a vector. I need to be able to do
> something like this:
>
> scale <1,1*animscale,1>

That is valid POV-Ray code and will do exactly what you're trying to do.

Of course, the 1* is unnecessary; scale <1,animscale,1> will work fine.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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