POV-Ray : Newsgroups : povray.binaries.images : Seeking the explanation : Seeking the explanation Server Time
12 Aug 2024 17:10:34 EDT (-0400)
  Seeking the explanation  
From: Jim Charter
Date: 28 Jul 2003 22:42:46
Message: <3f25df26@news.povray.org>
I am using the first image as a source for eval_pigment which I use
to generate the second 'image' of colored spheres.  Except it seems to
be in grayscale. Any ideas? The relevant code:

#declare Source =
         pigment {
           image_pattern {
             png "04.png"
           }
         }

#local a=0;#while (a<1)
         #local b=0;#while (b<1)
                 sphere { <a,b,0>, .00325
                         pigment { rgb eval_pigment (Source, <a,b,0>)}
                 }
         #local b=b+.01;#end
#local a=a+.01;#end


Post a reply to this message


Attachments:
Download '04.jpg' (7 KB) Download '12.jpg' (28 KB)

Preview of image '04.jpg'
04.jpg

Preview of image '12.jpg'
12.jpg


 

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