I need to write a C++ implementation of the dnoise function from Maya. However, the documentation for this function is woefully inadequate for describing what this function actually does from an implementation perspective.
So, what does this function actually do? And how do I implement it?
EDIT: Found this in the documentation: "The noise functions return values of a noise field in one, two, and three dimensions. The dnoise command returns the gradient of the noise field in three dimensions."
So what's the difference between the value and the gradient of the noise field?
EDIT 2: Apparently the gradient is the function that returns a vector of partial derivatives.
So that answers what the function needs to do; now the question is how to compute the partial derivative of a noise function.