In article <38F12D48.C366F9FB@hotmail.com>, Pabs <pab### [at] hotmailcom>
wrote:
> Sorry - what about if I want to use a gif/tga, just like in a proper hf -
> what pigment should I use for this
Use an image map in the pigment...just don't forget to turn on
interpolation.
#declare imagePigmentFn =
function {
pigment {
image_map {png "image.png"
map_type 0
interpolate 2
}
rotate x*90 // because image_maps are projected in the xy plane
}
}
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|