About this project
A demonstration of where mesh weight and solve time come from, built as two objects side by side. On the left, a rounded block, a sphere and a post joined as a blended SDF union, meshed from a sample grid. On the right, a plain sphere built from segments. Change one control at a time and watch what it does to the two of them. This is a scene to play with, not a part to print.
What to drag
Precision is the sample cell size in millimetres for the SDF part on the left, and it dominates everything else: halve it and you roughly quadruple the surface samples and multiply the solve time. Part size pushes from the other end, since at a fixed precision the sample count scales with size cubed.
Sphere segments is the mesh-side equivalent on the right, where triangle count grows with the square of the number. Drag it against precision to see how differently the two representations spend their budget.
Decimation is what you spend after the fact: the fraction of surface detail kept once the SDF mesh has been simplified, so 0.3 keeps 30 percent. Blend width is the smooth value on the union, which sets how far the fillet between block, sphere and post reaches.
Engine and processor
The engine control picks the mesher for the SDF branch: Rust LevelSet, which is manifold and GPU-capable, Rust Adaptive, which is fast, or Rust Adaptive v2, which is topology-safe. The processor control runs LevelSet on auto, forced GPU or forced CPU, so solve times can be compared on your own machine. Bounds padding adds margin around the evaluation bounds; it costs samples and is only wanted when a blend or offset is getting clipped.
What it costs
Two readouts put numbers on the two laws. The SDF grid readout estimates the sample grid for the left-hand part: the evaluation domain is about 1.35 times the part size plus any padding, and the engine samples it at half the precision value, so samples per axis are roughly 2.7 times part size over precision, and the cell count is that cubed. The mesh sphere readout gives the triangle count of the right-hand sphere, half the square of the segment count. Drag precision and segments in turn and compare how fast each number moves.