POV-Ray : Newsgroups : povray.advanced-users : Implicit loops in function(x,y,z) : Re: Implicit loops in function(x,y,z) Server Time
5 Jul 2024 14:59:30 EDT (-0400)
  Re: Implicit loops in function(x,y,z)  
From: CoucouHibou
Date: 3 Oct 2008 12:00:01
Message: <web.48e640cf26dbfbf085d1f9f50@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>
>   You can create a pattern from a df3 file, and consequently you can create
> a pattern function from one. You can then call this pattern function with
> spatial coordinates and it will return the value of the df3 at those
> coordinates (interpolated).

  Hi again,

  I have a little question now. Concerning the interpolate mode in the
density_file command: type 2 interpolation yields weird results! It creates
some big cubic holes in my pattern function while interpolate 1 is correct. I
thought the tricubic interpolation would be smoother and would not show this
mesh-like effect that we can see on the trilinear interpolation, but it seems
to have other defects that can not be compensated for.

  I do not know if this is normal as I do not know much about interpolation
weaknesses (maybe it is just that I have a tricky function, I actually did not
test this on spiral.df3). This is not crucial to my figure, as I compensate for
the lack of smooth interpolation by a higher resolution in the df3, but I am
just curious about it.

  Thanks for your answer,

  Hibou


Post a reply to this message

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