POV-Ray : Newsgroups : povray.general : What am I doing wrong? : Re: What am I doing wrong? Server Time
6 Aug 2024 10:21:10 EDT (-0400)
  Re: What am I doing wrong?  
From: Christopher James Huff
Date: 8 Apr 2002 09:51:19
Message: <chrishuff-4AB83A.09525308042002@netplex.aussie.org>
In article <3cb13506@news.povray.org>,
 "Corey Woodworth" <cdw### [at] mpinetnet> wrote:

> and then this in some object:
> 
> texture {
>  pigment {
>    fun
>    color_map {
>    [0  color White]
>    [1  color Black]
>   }
> }
> 
> it keeps stopping between fun and color_map saying no matching } in pigment
> vector function identifier found instad.

You want "pigment {function {fun(x, y, z)} ...}"...function names were 
never useable directly as pattern identifiers, though that would be a 
nice shortcut sometimes...

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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