POV-Ray : Newsgroups : povray.general : Rays path Length : Re: Rays path Length Server Time
23 Apr 2024 04:05:32 EDT (-0400)
  Re: Rays path Length  
From: Bald Eagle
Date: 12 Jan 2018 10:05:01
Message: <web.5a58ce75f3020183c437ac910@news.povray.org>
"Motive17" <nomail@nomail> wrote:
> clipka <ano### [at] anonymousorg> wrote:

> Thank you for the reply. This could be a very interesting approach.
>
> Maybe a trivial question but...about the values x,y,z in the definition of the
> function Fn:
>
>  Fn = function(x,y,z) {
>          FnDist(x-xC,y-yC,z-zC) +
>          FnDist(x-xL,y-yL,z-zL)
>
> what do they represent for POV-ray?

They are the x,y, and z values of the point in space that POV-Ray is evaluating
the function for.

"By default a function takes three parameters and you do not have to explicitly
specify the parameter names. The default three parameters are x, y and z. For
example:

 #declare foo = function { x + y * z }

If you need fewer or more parameters you have to explicitly specify the
parameter list."


Post a reply to this message

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