heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
70 stars 3 forks source link

Analytical gradient for `PerlinField` #15

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

We should complete #14 before this.

The derivative of Perlin Noise is possible to derive analytically, although doing it for any-dimensional noise could be very hard. If you can only realistically solve it for 2D and 3D, and let the rest fall back to finite differences, that will be acceptable.