I am currently working on a perlin noise function and want to use cubic interpolation to get smoother transitions between gradients. Currently, I am almost following Perlin's original method exactly with some modifications to make the result more of a marble texture.
Right now, I am using linear interpolation of the 8 corners of a unit cube starting at (x,y,z). Linear interpolation works fine for this example, but for cubic interpolation will I have to use a 4x4x4 grid of samples (64) to satisfy the same requirments (as cubic interpolation requires 4 inputs)? Or am I way off on what is required for cubic interpolation?
Thanks!
Right now, I am using linear interpolation of the 8 corners of a unit cube starting at (x,y,z). Linear interpolation works fine for this example, but for cubic interpolation will I have to use a 4x4x4 grid of samples (64) to satisfy the same requirments (as cubic interpolation requires 4 inputs)? Or am I way off on what is required for cubic interpolation?
Thanks!