smcameron / curly-vortex

Faking computational fluid dynamics a la Bridson-Hourihan-Nordenstam's paper "Curl-Noise for Procedural Fluid Flow" See also: gaseous-giganticus: https://smcameron.github.io/space-nerds-in-space/gaseous-giganticus-slides/slideshow.html#1
GNU General Public License v2.0
33 stars 2 forks source link

There are discontinuities in the velocity field at cube face boundaries #1

Open smcameron opened 10 years ago

smcameron commented 10 years ago

There are discontinuities in the velocity field at cube face boundaries. These lead to sharp corners in the fluid motion at face boundaries. This is likely due to abruptly switching which axes are used to calculate the noise gradient at face boundaries. However, changing the code to always use the same axes did not seem to fix it (presuming I did it right -- in which case it causes other problems -- also possible I didn't do it right -- too many rotations of the coord system and my brain goes all melty.)