POV-Ray : Newsgroups : povray.general : 16 bit image map pattern not working with isosurface : Re: 16 bit image map pattern not working with isosurface Server Time
4 Aug 2024 12:15:19 EDT (-0400)
  Re: 16 bit image map pattern not working with isosurface  
From: Abe
Date: 2 May 2003 10:25:05
Message: <web.3eb27f452a9b1139adb976770@news.povray.org>
Christoph Hormann wrote:
>
>Abe wrote:
>>
>> [...]
>>
>> I busted my head over this one too for a while. I ended up using TGA's of
>> the 16-bit-for-height_field flavor and extracting the MSB and LSB by
>>
>> function{pigment_foo(x,y,z).red+pigment_foo(x,y,z).green/256}
>>
>> which is probably where you are almost at anyway.
>
>Note this is probably an extremely bad idea since it does not work with
>interpolation and using not interpolated image maps will result in
>infinite gradients in the function.
>
>Christoph
>
>POV-Ray tutorials, include files, Sim-POV,
>HCR-Edit and more: http://www.tu-bs.de/~y0013390/
>Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
>

Ouch! I missed the implications of interpolating before extracting MSB and
LSB. But then I was doing landscapes and the extra wrinkles were not that
apparent. (I would call it "a bad idea" instead of "an extemely bad" one,
since it
sort-of-sometimes-under-certain-circumstances-when-the-moon-is-in-the-righ-phase
works ;))

Is the correct answer then to build a 16 bit function_image from a non
interpolated image_map and interpolate that?

--
Abe
============
http://www2.taconic.net/bullfrog/sky
============


Post a reply to this message

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