|
|
In article <38817636.95721485@pacbell.net>, lin### [at] povrayorg
wrote:
> Since Pov can read tga's directly I wonder how difficult it would be to
> patch this directly into Pov itself...
I have done something very similar to this using my eval_pigment()
patch. Just call the eval_pigment() using the center location of each
sphere and a pigment which uses an image_map, and use the returned color
in a solid pigment for each sphere. The results would be the same as
this. Plus, you can use any pigment, not just an image_map, and every
file format POV supports is supported(not just TGA).
It also can use the interpolation built in to image_map...
And it isn't bloat, it is a useful feature which only took a small
amount of code to implement.(although I think it currently only returns
the rgb values, I haven't modified it to return f and t yet)
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|