POV-Ray : Newsgroups : povray.general : Using a function in a height_field declaration : Re: Using a function in a height_field declaration Server Time
28 Oct 2024 04:59:23 EDT (-0400)
  Re: Using a function in a height_field declaration  
From: Bald Eagle
Date: 15 Feb 2023 06:55:00
Message: <web.63ecc7e543a1dd881f9dae3025979125@news.povray.org>
"yesbird" <nomail@nomail> wrote:
> Hi,
> > Sergey:  scaling scales EVERYTHING.
> ....
> > if you translate it first, then it will scale the translation as well, and it's
>
> But I did not translated my objects (see example script).


Nope, you're not, which is why it's so puzzling that there's any y-offset at
all.

However, regardless of whether the translation is inherent, as is the present
case, or intentional, by using a translate directive, the offset still exists
and so it gets affected by a scale directive.

Think about it from a function {} perspective and what it really means when you
scale something - especially if you were going to do it with a matrix
multiplication rather than an SDL directive.


Post a reply to this message

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