POV-Ray : Newsgroups : povray.binaries.images : Isosurface with straight,twist,straight : Re: Isosurface with straight,twist,straight Server Time
9 Aug 2024 09:02:59 EDT (-0400)
  Re: Isosurface with straight,twist,straight  
From: Sebastian H 
Date: 9 Mar 2005 12:43:35
Message: <422f35c7$1@news.povray.org>
Slime schrieb:
>>Nice, how did you calculate it?
> 
> 
> Actually, I just took it from my old Slime-POV source code which implemented
> second-derivative continuity in f_noise3d; so ultimately it came from Ken
> Perlin's paper which explained how to do that. Of course, it can be figured
> out manually with the conditions you describe. Since there are 6
> restrictions on the function, we must have 6 unknowns, which mean it's a 5th
> order equation:
> 
> f(x) = ax^5 + bx^4 + cx^3 + dx^2 + ex + f
> 
> Differentiating twice, plugging in x = 0 or 1 and setting the results equal
> to zero or one as you stated should produce a 6x6 matrix which can be solved
> for a,b,c,d,e,f. The result will be a=6, b=-15, c=10, d=e=f=0. Then the
> result is equivalent to x*x*x*(10+x*(6*x-15)).

This is exactly how I did it but I kept some variables
in the matrix, therefore it got a bit messy (had nothing to do then).

> Nice image, the smoothness really helps.

Thank you.
I allways enjoy your images, too.

Sebastian


Post a reply to this message

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