mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
increase min face number per smooth rendering
This commit is contained in:
parent
627c5a4bbb
commit
faf994dc0a
@ -82,7 +82,7 @@ public:
|
||||
inline static QString perBatchPrimitives() {return "MeshLab::System::perBatchPrimitives";}
|
||||
|
||||
size_t minpolygonpersmoothrendering;
|
||||
inline static QString minPolygonNumberPerSmoothRendering() { return "MeshLab::System::minPolygonNumberPerSmoothRendering"; }
|
||||
inline static QString minFaceNumberPerSmoothRendering() { return "MeshLab::System::minFaceNumberPerSmoothRendering"; }
|
||||
|
||||
std::ptrdiff_t maxTextureMemory;
|
||||
inline static QString maxTextureMemoryParam() {return "MeshLab::System::maxTextureMemory";}
|
||||
|
||||
@ -1329,7 +1329,7 @@ void MainWindowSetting::initGlobalParameterList(RichParameterList& gbllist)
|
||||
{
|
||||
gbllist.addParam(RichInt(maximumDedicatedGPUMem(), 350, "Maximum GPU Memory Dedicated to MeshLab (Mb)", "Maximum GPU Memory Dedicated to MeshLab (megabyte) for the storing of the geometry attributes. The dedicated memory must NOT be all the GPU memory presents on the videocard."));
|
||||
gbllist.addParam(RichInt(perBatchPrimitives(), 100000, "Per batch primitives loaded in GPU", "Per batch primitives (vertices and faces) loaded in the GPU memory. It's used in order to do not overwhelm the system memory with an entire temporary copy of a mesh."));
|
||||
gbllist.addParam(RichInt(minPolygonNumberPerSmoothRendering(), 50000, "Default Face number per smooth rendering", "Minimum number of faces in order to automatically render a newly created mesh layer with the per vertex normal attribute activated."));
|
||||
gbllist.addParam(RichInt(minFaceNumberPerSmoothRendering(), 5000000, "Default Face number per smooth rendering", "Minimum number of faces in order to automatically render a newly created mesh layer with the per vertex normal attribute activated."));
|
||||
|
||||
// glbset->addParam(RichBool(perMeshRenderingToolBar(), true, "Show Per-Mesh Rendering Side ToolBar", "If true the per-mesh rendering side toolbar will be redendered inside the layerdialog."));
|
||||
|
||||
@ -1343,7 +1343,7 @@ void MainWindowSetting::updateGlobalParameterList(const RichParameterList& rpl)
|
||||
{
|
||||
maxgpumem = (std::ptrdiff_t)rpl.getInt(maximumDedicatedGPUMem()) * (float)(1024 * 1024);
|
||||
perbatchprimitives = (size_t)rpl.getInt(perBatchPrimitives());
|
||||
minpolygonpersmoothrendering = (size_t)rpl.getInt(minPolygonNumberPerSmoothRendering());
|
||||
minpolygonpersmoothrendering = (size_t)rpl.getInt(minFaceNumberPerSmoothRendering());
|
||||
highprecision = false;
|
||||
if (MeshLabScalarTest<Scalarm>::doublePrecision())
|
||||
highprecision = rpl.getBool(highPrecisionRendering());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user