POV-Ray : Newsgroups : povray.general : Density file drift based upon interpolation : Re: Density file drift based upon interpolation Server Time
5 Aug 2024 10:24:48 EDT (-0400)
  Re: Density file drift based upon interpolation  
From: William Pokorny
Date: 29 Sep 2002 16:09:57
Message: <3D9760FE.9297F762@attglobal.net>
Privately someone pointed out a couple of mistakes in my
suggested fix. The corrected lines read: 

if (interpolationType != NO_INTERPOLATION)
  { Ex -= (0.5 / (DBL)Data->Sx); // Result to voxel center
    Ey -= (0.5 / (DBL)Data->Sy);
    Ez -= (0.5 / (DBL)Data->Sz);
  }

Bill P.


Post a reply to this message

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