POV-Ray : Newsgroups : povray.general : Using a function in a height_field declaration : Re: Using a function in a height_field declaration Server Time
17 Apr 2024 19:14:34 EDT (-0400)
  Re: Using a function in a height_field declaration  
From: Bald Eagle
Date: 14 Feb 2023 13:25:00
Message: <web.63ebd17943a1dd881f9dae3025979125@news.povray.org>
"yesbird" <nomail@nomail> wrote:

> Of сourse I've tried to play with arguments scaling , but problem in shifting
> from origin (please look at attachment). Still can't figure out how it work.

You're using multiplication.division to scale.

You shift it over from the origin in the same way, just with
addition/subtraction.


So where you have (x*x), you would use ( (x+3)*(x+3) ) to shift everything to
the left.  Same works for y with up/down and z with backwards/forwards.

- BW


Post a reply to this message

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