mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Categorize some debug logging in FBX parsing
This commit is contained in:
parent
5bd5fc43d3
commit
4c150efc11
1 changed files with 7 additions and 4 deletions
|
@ -9,7 +9,11 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#include "FBXReader.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
|
||||
#include <QBuffer>
|
||||
#include <QDataStream>
|
||||
#include <QIODevice>
|
||||
|
@ -20,9 +24,8 @@
|
|||
#include <QFileInfo>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include "FBXReader.h"
|
||||
|
||||
#include <memory>
|
||||
#include "ModelFormatLogging.h"
|
||||
|
||||
bool FBXMaterial::needTangentSpace() const {
|
||||
return !normalTexture.isNull();
|
||||
|
@ -258,11 +261,11 @@ void FBXReader::consolidateFBXMaterials(const QVariantHash& mapping) {
|
|||
}
|
||||
}
|
||||
}
|
||||
qDebug() << " fbx material Name:" << material.name;
|
||||
qCDebug(modelformat) << " fbx material Name:" << material.name;
|
||||
|
||||
if (materialMap.contains(material.name)) {
|
||||
QJsonObject materialOptions = materialMap.value(material.name).toObject();
|
||||
qDebug() << "Mapping fbx material:" << material.name << " with HifiMaterial: " << materialOptions;
|
||||
qCDebug(modelformat) << "Mapping fbx material:" << material.name << " with HifiMaterial: " << materialOptions;
|
||||
|
||||
if (materialOptions.contains("scattering")) {
|
||||
float scattering = (float) materialOptions.value("scattering").toDouble();
|
||||
|
|
Loading…
Reference in a new issue