POV-Ray : Newsgroups : povray.general : "scale" again... : Re: "scale" again... Server Time
4 Aug 2024 00:21:16 EDT (-0400)
  Re: "scale" again...  
From: Slime
Date: 10 Sep 2003 23:44:08
Message: <3f5fef88$1@news.povray.org>
>     scale 10 + z * 30

This is equivalent to

scale <10, 10, 10> + <0, 0, 30>

or

scale <10, 10, 40>

>
> Without testing I would assume the following 2 lines will do the same as
> above:
>
>     scale <10,10,10>
>     scale < 1, 1,30>

No, the above is equivalent to

scale <10, 10, 300>

You'll get used to these sort of vector additions with a little practice,
and you'll be able to quickly identify what an expression evaluates to.

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


Post a reply to this message

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