|
|
In article <web.3dcae8cc195c50e490f0db7e0@news.povray.org>,
"normdoering" <nor### [at] yahoocom> wrote:
> You can write macros to sample images? Great. How do I learn to do that?
Reading the replies answering this question would be a good start.
> I want to do more than that. I wan to blob them and add them together like
> you do with an isosurface.
Doing this with meshes is extremely, *EXTREMELY* difficult, as a macro
or a patch. If you need to do that, you'd be better off using an
isosurface.
> Maybe you can... but I don't have a clue. Where do I learn to write macros
> that can read image files like jpeg and gif and png?
Use the same method the height field macros use for images. Use an
image_map in a pigment function, then call the function to get the color
for each pixel.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|