build better trees
parent
e0a1720581
commit
84cff419f8
|
@ -473,7 +473,7 @@ public:
|
||||||
m_clip = true;
|
m_clip = true;
|
||||||
m_stopPrims = 4;
|
m_stopPrims = 4;
|
||||||
m_maxBadRefines = 3;
|
m_maxBadRefines = 3;
|
||||||
m_exactPrimThreshold = 16384;
|
m_exactPrimThreshold = 65536;
|
||||||
m_maxDepth = 0;
|
m_maxDepth = 0;
|
||||||
m_retract = true;
|
m_retract = true;
|
||||||
m_parallel = true;
|
m_parallel = true;
|
||||||
|
|
|
@ -367,7 +367,7 @@ void PLYLoader::loadPLY(const fs::path &path) {
|
||||||
ply_parser.parse(path.file_string());
|
ply_parser.parse(path.file_string());
|
||||||
|
|
||||||
Log(EInfo, "\"%s\": Loaded " SIZE_T_FMT " triangles, " SIZE_T_FMT
|
Log(EInfo, "\"%s\": Loaded " SIZE_T_FMT " triangles, " SIZE_T_FMT
|
||||||
" vertices (%s, %i ms).", m_name.c_str(), m_triangleCount, m_vertexCount,
|
" vertices (%s in %i ms).", m_name.c_str(), m_triangleCount, m_vertexCount,
|
||||||
memString(sizeof(uint32_t) * m_triangleCount * 3 + sizeof(Vertex) * m_vertexCount).c_str(),
|
memString(sizeof(uint32_t) * m_triangleCount * 3 + sizeof(Vertex) * m_vertexCount).c_str(),
|
||||||
timer->getMilliseconds());
|
timer->getMilliseconds());
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ public:
|
||||||
|
|
||||||
void test02_buildSimple() {
|
void test02_buildSimple() {
|
||||||
Properties bunnyProps("ply");
|
Properties bunnyProps("ply");
|
||||||
bunnyProps.setString("filename", "tools/tests/xyzrgb_statuette.ply");
|
bunnyProps.setString("filename", "tools/tests/lucy.ply");
|
||||||
|
|
||||||
ref<TriMesh> mesh = static_cast<TriMesh *> (PluginManager::getInstance()->
|
ref<TriMesh> mesh = static_cast<TriMesh *> (PluginManager::getInstance()->
|
||||||
createObject(TriMesh::m_theClass, bunnyProps));
|
createObject(TriMesh::m_theClass, bunnyProps));
|
||||||
|
|
Loading…
Reference in New Issue