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'
Preview of image '12.jpg'
|