POV-Ray : Newsgroups : povray.advanced-users : Reproducing pigment from functions ... : Re: Reproducing pigment from functions ... Server Time
29 Jul 2024 18:20:15 EDT (-0400)
  Re: Reproducing pigment from functions ...  
From: Thorsten Froehlich
Date: 13 Apr 2002 16:45:08
Message: <3cb898d4@news.povray.org>
In article <3cb797fa@news.povray.org> , "David Wallace" 
<dar### [at] earthlinknet> wrote:

> I tried a 5-parameter function thinking that the results would be truncated
> otherwise... POV rejected it as an error:
> "Function parameters for pigment functions are not allowed."
>
> I suspect that your problem is that any 5D color vector that is interpreted
> in a function block is truncated to 3D RGB form.  If that's so then you're
> SOL.

No, this is not the case.  The error message simply says you may not specify
function parameters for functions with a fixed parameter list, which is
explained in the documentation.


    Thorsten


Post a reply to this message

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