You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: mesh SDF grids with GridToMesh, not VolumeToMesh, in GN example
build_remesh_via_sdf wired MeshToSDFGrid's 'SDF Grid' output (a grid/float socket) into VolumeToMesh's 'Volume' input (a geometry socket). That link is is_valid=False, so VolumeToMesh received no data and the evaluated modifier produced 0 vertices on both 4.5.10 LTS and 5.1.1, at every Voxel Size/Band Width/Threshold combination tried. Root cause: VolumeToMesh meshes a volume geometry (as produced by MeshToVolume), not a bare grid. Switched to GeometryNodeGridToMesh (Grid input is type-compatible) with threshold=0.0 (SDF zero-level). Verified: cube remesh now yields 10088 verts (5.1.1) / 9602 (4.5.10), zrange (-1.0, 1.0). Updated the heading and node-reference table accordingly.
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
| For Each Element Input / Output (4.3+) |`GeometryNodeForeachGeometryElementInput`, `GeometryNodeForeachGeometryElementOutput`|
161
162
@@ -274,13 +275,19 @@ def has_for_each_element():
274
275
275
276
6.**Building the tree without group input/output nodes**. The tree's interface sockets only matter once you have `NodeGroupInput` and `NodeGroupOutput` instances connected to actual nodes inside the tree.
276
277
277
-
## Worked example: replicate the "Mesh to SDF then Volume to Mesh" pipeline
278
+
## Worked example: replicate the "Mesh to SDF then Grid to Mesh" pipeline
279
+
280
+
An SDF grid is meshed with **Grid to Mesh** (`GeometryNodeGridToMesh`), not **Volume to
281
+
Mesh**. The `Mesh to SDF Grid` output is a *grid* socket; `Volume to Mesh` takes a *volume
282
+
geometry* socket (what `Mesh to Volume` produces), so wiring the SDF grid into it is an
283
+
invalid connection that silently yields no geometry. `Grid to Mesh` has the matching grid
284
+
input. For an SDF the surface is at distance 0, so use `threshold=0.0`.
0 commit comments