#include <osg/Image>
+#include <simgear/debug/logstream.hxx>
+
#include "Noise.hxx"
using namespace osg;
GLubyte *ptr;
double amp = 0.5;
- osg::notify(osg::WARN) << "creating 3D noise texture... ";
+ SG_LOG(SG_TERRAIN, SG_BULK, "creating 3D noise texture... ");
for (f = 0, inc = 0; f < numOctaves; ++f, frequency *= 2, ++inc, amp *= 0.5)
{
}
}
- osg::notify(osg::WARN) << "DONE" << std::endl;
+ SG_LOG(SG_TERRAIN, SG_BULK, "DONE");
+
return image;
}