When I do the same as in the tutorial 2 with some different points, sometimes I got a value over 1, check :
#include <iostream> #include <noise/noise.h> using namespace noise; int main (int argc, char** argv) { module::Perlin myModule; double value = myModule.GetValue (0.8, 0.19, 0.50); // return 1.00101 std::cout << value << std::endl; return 0; }
you can found a discussion open by myself about that here :
http://stackoverflow.com/questions/17038082/linux-c-libnoise-getvalue-return-value-1
same bug with ridgedmult