POV-Ray : Newsgroups : povray.beta-test : Function context issue. : Re: Function context issue. Server Time
31 Jul 2024 00:32:06 EDT (-0400)
  Re: Function context issue.  
From: Batronyx
Date: 21 Sep 2001 08:38:30
Message: <3bab34c6$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3bab0c9a@news.povray.org...
> Batronyx <bat### [at] cadronhsacom> wrote:
> : #declare Fn_AmbMap = function{ pigment{
> :        pigment_pattern {bozo scale 0.5}
> :                    color_map {
> :         [0.00 color rgb <0,0,0> ]
> :         [1.00 color rgb <1,1,1> ]
> :       }
> :    }
> : }//end function
>
>   Perhaps a bit unrelated, but I don't understand why it has to be that
> complicated. Why not just:
>


You're right. It doesn't have to be that complicated. In trying different work-
arounds though, I discovered a bug in the pigment_pattern using bozo. This
snippet is just cut'n'paste from my previous post as a matter of convenience.

--
Batronyx ^"^
bat### [at] cadronhsacom
http://www.batronyx.com


Post a reply to this message

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