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.
Coarse levels below the base: plain meshes and micro levels (design note, 2026-11-04)
Status: built for plain meshes in perf/coarse-lod (render/Clusters.h: CoarseLevels; Renderer::cullCoarse). The maintainer lifted the freedom-to-operate gate on 2026-11-05; the clean-room rules below still hold. Micro levels (item 8 proper, below their base) are not done yet: the same grids on the displaced base corners are the next step.
Clean-room rules for this work (mandatory)
- Designed only from the public literature listed below. Nobody working on it reads or searches patents, and nobody studies, decompiles or copies any commercial engine's implementation, or documentation of its internals. Anything that starts to look like a specific product's technique stops and goes to the perf lead first.
- What we deliberately do not do: no cluster DAG; no grouping of clusters whose shared boundaries are locked while the group is simplified and re-split; no runtime "cut" selected through such a graph by parent/child error bounds. Each cluster has its own short chain of coarser versions (a per-cluster tree of depth a few), nothing is shared between clusters except the global grid below.
Sources (public, 1976-2000)
- J. Clark, "Hierarchical geometric models for visible surface algorithms", CACM 1976: pick a model's detail from its size on screen.
- J. Rossignac and P. Borrel, "Multi-resolution 3D approximations for rendering complex scenes", 1993: vertex clustering on a uniform grid; each cell's vertices merge to one representative, degenerate triangles drop.
- H. Hoppe, "Progressive meshes", SIGGRAPH 1996: a mesh as a coarse base plus refinements; error measured as distance to the full surface.
- S. Rusinkiewicz and M. Levoy, "QSplat", SIGGRAPH 2000: a bounding-sphere hierarchy used both to cull and to stop refining once a node projects below a pixel threshold.
The problem
On a dense base (a 28M triangle scan: about 14 base triangles per pixel at 1080p) the micro renderer's coarsest level is one triangle per base triangle, so it never draws fewer than the base, and the floor tier's 2M triangle budget can't hold. Orbit cost should follow the pixels, not the base.
What we build
- Global nested grids (Rossignac-Borrel). Levels -1, -2, ...: cell size = 2^k x the base's mean edge, cells aligned to the model's box so each level's cells nest in the next. Each cell's representative point is the mean of the displaced base corners inside it, computed over the whole mesh (not per cluster). Two clusters that touch the same cell therefore place it at the same point with no boundary rule at all.
- Per-cluster coarse versions (a per-cluster tree). For each cluster (n2stroke's layout) and each level, map its base triangles' corners to cells, drop degenerate and duplicate triangles, store the index list (cell ids into that level's representative buffer). Stop a cluster's chain when a level would keep fewer than ~16 triangles. Built off the main thread, per frame within a measured time budget; rebuilt per cluster when a stroke dirties it.
- Selection (Clark, QSplat). Per cluster per frame: error of level -k = its cell diagonal projected at the cluster's nearest point (bounding sphere); draw the coarsest level with error < ~1 px, else the existing micro levels. The triangle budget then lowers detail by raising that threshold, as today.
- Seams between clusters on different grid levels. Same level: none (shared cells, item 1). Different levels: a gap of at most the coarser cell, which item 3 keeps under about a pixel. Adjacent clusters are kept within one level of each other (a balance pass over the cluster neighbours, as in restricted quadtrees), and the coarse triangles are drawn with the existing micro shading (normals from the shading grid's corners), so a sub-pixel gap shows the surface behind it, not the background, in the closed models this targets. If pinholes still show, the next step is to fall back to the finer level on the cluster's border cells, not to lock boundaries.
- Flag.
RenderSettings/ Preferences > Performance "Coarse micro levels (Experimental)", off by default; off = today's renderer exactly.
Measure
Lucy 112M / 448M and core-200m: orbit fps and GPU ms on the E-core floor, the laptop, the Windows 3060; triangles drawn vs the floor's 2M budget; png_diff against the flag off where the base edge is > 1 px (must match).
What shipped first (plain meshes, 2026-11-05)
- Grids as in item 1, the first cell 4x the mean edge (a 2x level drew too much to pay for its memory), five levels for every cluster; each cell's point and normal kept, so an edit can recompute them. Clusters are main's UploadOrder ones (not yet n2stroke's micro layout: join there when it lands, MicroRenderer's clusters would take the same lists).
- Selection: not per cluster (item 3) but one level for every visible cluster, the finest whose triangles fit the tier's budget; everything fitting in full detail draws in full. Per-cluster levels left visible gaps along seams wherever two levels met, and a scan's clusters (64-triangle chunks in the file's triangle order) are ragged strips, so the seams are everywhere: one level keeps the surface closed with no balance pass or border rule. Distance-adaptive levels come back with compact clusters (n2stroke's layout) and item 4's border fallback.
- Edits: clusters a stroke moved draw in full until the first frame without new edits, which recomputes their levels and every cell point within a cell of the edit (cells for vertices pushed where none were are added).