|
![](/i/fill.gif) |
In article <3a984907@news.povray.org>, "yooper" <Out### [at] huntel net>
wrote:
> . Have you tried a single colour per sphere instead of an image
> map on the union? Megapov has an easier solution for this than pov3.1
> ***
> That's what my original intention was but . . . a bead for each pixel
> really limits the size of the photograph that I can use. Some small ones
> would work but even at 400x400 . . . yikes !!! So I just shot it at the
> union and way very pleasently surprised by the result.
I don't think he meant a bead per pixel, just a single color for each
bead. In MegaPOV, you could use the eval_pigment() patch to get the
color of the image_map at the center of each bead. With the official
version, you would have to either code a program to get the needed
information, or just translate the texture so the portion at the bead
position is at < 0, 0, 0>, scale it large enough that you can't see any
color blend across it, then translate it to the bead position.
object {Bead
texture {ImageTexture
translate -BeadPosition
scale 100// this should be big enough...
}
translate BeadPosition
}
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |