|
|
In article <3C602B2E.39A4AA9F@gmx.de>, Tim Nikias <tim### [at] gmxde>
wrote:
> Before, all I did, was use image-map right inside
> the density-statement, but I don't get it to work.
POV 3.5 doesn't support that feature (I wonder when it got added to
MegaPOV?), but you should still be able do it this way...
#declare imgFn = function {pigment {image_map {...}}}
density {average
density_map {
[1 function {imgFn(x, y, z).red}
color_map {[0 rgb 0] [1 red 3]}]
[1 function {imgFn(x, y, z).green}
color_map {[0 rgb 0] [1 green 3]}]
[1 function {imgFn(x, y, z).blue}
color_map {[0 rgb 0] [1 blue 3]}]
}
}
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|