POV-Ray : Newsgroups : povray.binaries.images : Crevice grime : Re: Crevice grime Server Time
31 Jul 2024 00:33:47 EDT (-0400)
  Re: Crevice grime  
From: clipka
Date: 17 Mar 2011 18:19:04
Message: <4d8288d8$1@news.povray.org>
Am 17.03.2011 14:52, schrieb Trevor G Quayle:

>>> One thing I noticed is that with interpolate 1 there is a distinct shift down
>>> and to the left.  Is there a bias in the internal interpolate function?  This is
>>> something that I have noticed before with interpolate.
>>
>> It was known (and fixed) for interpolation of input images, but has
>> never been examined for df3 files yet.
>
>
> I ran a test with a 1/2 pixel shift which corrected it, so it does look like
> this just needs to be corrected for df3 files in the code.

I had a closer look by now; according to the code, there is indeed a 
half-voxel shift towards negative coordinate values, for both trilinear 
and tricubic interpolation.


Post a reply to this message

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