}
if (res.loadedFromCache())
- SG_LOG(SG_IO, SG_INFO, "Returning cached image \""
+ SG_LOG(SG_IO, SG_BULK, "Returning cached image \""
<< res.getImage()->getFileName() << "\"");
else
- SG_LOG(SG_IO, SG_INFO, "Reading image \""
+ SG_LOG(SG_IO, SG_BULK, "Reading image \""
<< res.getImage()->getFileName() << "\"");
return res;
osg::Node* cached
= dynamic_cast<Node*>(registry->getFromObjectCache(fileName));
if (cached)
- SG_LOG(SG_IO, SG_INFO, "Got cached model \""
+ SG_LOG(SG_IO, SG_BULK, "Got cached model \""
<< fileName << "\"");
else
- SG_LOG(SG_IO, SG_INFO, "Reading model \""
+ SG_LOG(SG_IO, SG_BULK, "Reading model \""
<< fileName << "\"");
return cached;
}
void
BuildLeafBVHPolicy::buildBVH(const std::string& fileName, osg::Node* node)
{
- SG_LOG(SG_IO, SG_INFO, "Building leaf attached boundingvolume tree for \""
+ SG_LOG(SG_IO, SG_BULK, "Building leaf attached boundingvolume tree for \""
<< fileName << "\".");
BoundingVolumeBuildVisitor bvBuilder(true);
node->accept(bvBuilder);
void
BuildGroupBVHPolicy::buildBVH(const std::string& fileName, osg::Node* node)
{
- SG_LOG(SG_IO, SG_INFO, "Building group attached boundingvolume tree for \""
+ SG_LOG(SG_IO, SG_BULK, "Building group attached boundingvolume tree for \""
<< fileName << "\".");
BoundingVolumeBuildVisitor bvBuilder(false);
node->accept(bvBuilder);
void
NoBuildBVHPolicy::buildBVH(const std::string& fileName, osg::Node*)
{
- SG_LOG(SG_IO, SG_INFO, "Omitting boundingvolume tree for \""
+ SG_LOG(SG_IO, SG_BULK, "Omitting boundingvolume tree for \""
<< fileName << "\".");
}