Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Coarse levels: GPU frame samples that can't hold the drawn triangles are ignored (UI tests draw the 3D view only for shots: the 'Preview detail' hint showed over a full-detail view in a floor-tier shot)
islandmed82895709025b
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cppindex be632408..79880d27 100644--- a/src/render/Renderer.cpp+++ b/src/render/Renderer.cpp@@ -3303,8 +3303,11 @@ void Renderer::uploadCoarsePoints(MeshSlot& s) {}void Renderer::noteGpuFrame(double gpuMs, uint64_t drawnTriangles) {- if (!(gpuMs > 0.0) || drawnTriangles < 500000) return; // (small frames are mostly fixed costs)+ if (!(gpuMs > 0.2) || drawnTriangles < 500000) return; // (small frames are mostly fixed costs)const double v = gpuMs / double(drawnTriangles);+ // (A frame whose GPU time can't hold those triangles didn't draw them: UI tests draw the 3D view only for their+ // shots, the timer measures every frame. More than 1e11 triangles a second is no measurement.)+ if (v < 1e-8) return;gpuMsPerTriangle_ = gpuMsPerTriangle_ > 0.0 ? 0.8 * gpuMsPerTriangle_ + 0.2 * v : v;}