POV-Ray : Newsgroups : povray.binaries.images : cubic interpolation for image_maps (2 jpegs - 63kb) : Re: cubic interpolation for image_maps (2 jpegs - 63kb) Server Time
2 Aug 2024 20:16:34 EDT (-0400)
  Re: cubic interpolation for image_maps (2 jpegs - 63kb)  
From: Grassblade
Date: 7 Mar 2007 15:05:00
Message: <web.45ef19bf625f00b5cc406eba0@news.povray.org>
I don't think that's the effect you were looking for. I have taken a look at
your code, and if I understand correctly, you are making interpolation pixel
per pixel, but with cubic interpolation you need 4 pixels, so if you are
repeating it on the next pixel, you are overlapping the previous
interplation. I've never tried it, but I think you should skip to the next
block of 4*4 pixels (or maybe 3*3, considering continuity/differentiability
of the block's edges).


Post a reply to this message

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