POV-Ray : Newsgroups : povray.text.tutorials : Isosurface tutorial : Re: Isosurface tutorial Server Time
2 May 2024 23:21:51 EDT (-0400)
  Re: Isosurface tutorial  
From: Chris Huff
Date: 9 Apr 2000 21:32:02
Message: <chrishuff_99-C220A6.20343709042000@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.