POV-Ray : Newsgroups : povray.general : 3.2.1.6.5 in docs--clarification needed : Re: 3.2.1.6.5 in docs--clarification needed Server Time
29 Jul 2024 04:19:59 EDT (-0400)
  Re: 3.2.1.6.5 in docs--clarification needed  
From: Trevor G Quayle
Date: 27 Feb 2013 10:05:01
Message: <web.512e207def3a5b5981c811d20@news.povray.org>
James Holsenback <nom### [at] nonecom> wrote:
> On 02/27/2013 07:39 AM, Thomas de Groot wrote:
> > On 27-2-2013 10:34, Kenneth wrote:
> >> 3.2.1.6.5  "Declaring User-Defined Color Functions".
> >
> > A bit difficult to find ;-)
> >
> > in the 3.7 RC7 offline Docs: 3.3.1.8.5
> > in the online wiki Docs: 2.3.1.8.5
>
> That's where I find them as well, so I don't know where Ken got his
> annotation ... perhaps 3.6 but hey that's ancient history right? It's
> usually more meaningful to say ... e.g: in the Reference 3.1.8.5
>
> As far as the content at Reference 3.1.8.5 ... user defined functions is
> an advanced technique. If you've gotten that far there does seem to be a
> build in assumption ... not that big of a leap IMHO.

In the 3.7 RC6 help file that opens up for me it is section 3.2.1.6.5
I suppose I should be installing RC7.


For what it does:

#declare Vec = foo(1,2,3) returns the rgb value at the (x,y,z) coordinate
(1,2,3)


#declare Val = foo(2,3,4).gray does the same thing, but then converts it to a
single gray value based on rgb->grey conversion formula.


-tgq


Post a reply to this message

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