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:18:23 EDT (-0400)
  Re: cubic interpolation for image_maps (2 jpegs - 63kb)  
From: Samuel Benge
Date: 7 Mar 2007 16:21:25
Message: <45ef2cd5@news.povray.org>
Grassblade wrote:
> 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).
> 

Hmm, you may be right. Christoph pointed me toward a new version of 
MegaPOV which does what I want. If that works, then I won't improve my code.

~Sam


Post a reply to this message

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