POV-Ray : Newsgroups : povray.general : 16 bit image map pattern not working with isosurface : 16 bit image map pattern not working with isosurface Server Time
4 Aug 2024 12:15:19 EDT (-0400)
  16 bit image map pattern not working with isosurface  
From: Wolfgang Wieser
Date: 1 May 2003 10:00:11
Message: <3eb1286a@news.povray.org>
Using the following code...

#declare pigment_foo = function {
        pigment {
                image_map {
                        png "gray16.png"
                        interpolate 2
                }
        }
}

isosurface {
        function { 
                ... prigment_foo(x,y,z).gray ...
        }
        ...
}

...it turns out that the resulting isosurface only uses the 
high 8 bit of the image_map although the image map source is 
a 16 bit grayscale PNG. 

Am I doing something wrong or 
is there a way to get native support for 16 bit or 
is it unavoidable that I fall back to using two 8-bit PNG-based 
  pigments (one for MSB one for LSB) ?

Wolfgang


Post a reply to this message

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