POV-Ray : Newsgroups : povray.bugreports : Interpolation on map_type 1 : Re: Interpolation on map_type 1 Server Time
26 Apr 2024 05:45:13 EDT (-0400)
  Re: Interpolation on map_type 1  
From: clipka
Date: 15 Sep 2015 01:47:12
Message: <55f7b0e0@news.povray.org>
Am 14.09.2015 um 14:58 schrieb IGM:
> Hi all,
> I noticed that when I use interpolation (both 2 or 4) with map_type 1, the
> interpolation algorithm mixes the values of the top and bottom edges of the
> image (that should be two completely different points). In the following script,
> the "test.bmp" is a simple bitmap with top half white and bottom half black. If
> you deactivate the interpolation option, the spheres are rendered correctly,
> while if you activate interpolation the white half sphere shows a small black
> spot in the center, and the black half sphere shows a small white spot in the
> center. In the script I render two spheres to see the effect on top and bottom
> simultaneously.
> 
> In my opinion, the algorithm should avoid the mixing between top and bottom
> edges of the image.

Did you try with the "once" keyword?

Otherwise POV-Ray presumes that the image is tileable, and interpolates
accordingly.

In POV-Ray, interpolation and mapping are entirely independent of each
other.


Post a reply to this message

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