POV-Ray : Newsgroups : povray.general : Color function question : Color function question Server Time
4 Aug 2024 00:23:21 EDT (-0400)
  Color function question  
From: d jarbee
Date: 5 Sep 2003 19:40:01
Message: <web.3f591e9a75ce2c7d5d6ae59e0@news.povray.org>
Excuse me if this has been answered.
If I declare a function from an image map like so:

#declare Image = pigment{ image_map{ "goth.bmp" once} }
#declare f_Image = function{ pigment{Image} }

then use the function as a pigment:

plane{
        -z, 0
        pigment{ function{f_Image(x,y,z).gray} }
}

....it works but everywhere outside <0,0,0> to <1,1,0> on the plane is set to
a medium shade of gray. Am I doing something wrong?

Janger


Post a reply to this message

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