POV-Ray : Newsgroups : povray.advanced-users : Need a script to randomly scatter objects vertically : Re: Need a script to randomly scatter objects vertically Server Time
24 Apr 2024 13:45:39 EDT (-0400)
  Re: Need a script to randomly scatter objects vertically  
From: Norbert Kern
Date: 22 Apr 2021 12:50:00
Message: <web.6081a84bc2ce34cbfd796d7fb7ae6630@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:

> Hi Norbert
>
> I suspect that there is an error in JRG's Interpolate macro in the enclosed zip
> file.
>
> I would guess that it should return this expression:
>
>     (P1 + (T - T1)/(T2 - T1)*(P2 - P1))
>
> - instead of this one:
>
>     (P1 + (T1 + T/(T2 - T1))*(P2 - P1))
>
> --
> Tor Olav
> http://subcube.com
> https://github.com/t-o-k


Thanks Tor!

I would never recognize such errors.

Norbert


Post a reply to this message

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