|
|
In article <rdg### [at] tritonimagicode>,
Christoph Hormann <chr### [at] gmxde> wrote:
> It seems to do in case of image_maps, the case where i originally had
> problems with it was image_pattern (because it uses GREY_SCALE()). This
> also makes it clear why using two separate images for low and high byte
> works.
I don't know what you were using image_pattern for...the .hf feature
takes a vector function, almost always a pigment function. It will never
work with image_pattern, because pattern functions return a single float
value. And image_pattern won't return any sort of sensible result from a
red-green 16-bit data file.
> Note the code did not even work with final POV-Ray 3.5, for some reason
> image_pattern is not allowed in pattern functions (it is commented out
> in Parse_PatternFunction()).
#declare InterpFn = function {pigment {image_map {tga "hfimage.tga"
interpolate 4}}}
isosurface {
function {y - InterpFn(x, z, y).hf}
...
--
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
|
|