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
15 May 2021 20:26:42 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-2021 Persistence of Vision Raytracer Pty. Ltd.