|
|
Phil Cook wrote:
> Someone else has just been caught out by 'moving' objects when using
> scale, I was wondering if adding a non-origin sphere to the example
> would highlight this, perhaps:
>
> Scale also alters the vector components of an object
>
> For example
>
> sphere { <1,1,1>, 1
> scale 5> // Evaluates as <5,5,5> so uniformly scale
> // by 5 in every direction.
> // but also multiplies the vector location
> // resulting in a translation to <5,5,5>
> }
See "2.2.7.2 Transformation Order" - without such a complete example but
well explained IMO.
Apart from that your explanation is wrong. A transform does not
transform the radius and center of the sphere but the whole object. In
fact POV-Ray does not even transform the object but transforms the ray
with the inverse transform - otherwise a lot of shapes could not be
transformed arbitrarily at all.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|