Latest news
TutorialsBlender

Create a Distance Field from Surfaces with Blender’s Geometry Proximity Node

The Geometry Proximity node in Blender Geometry Nodes calculates the nearest position and distance on target geometry. This guide explains faces, edges, and points modes, as well as how to create a distance-based falloff.

A contemporary interior in daylight, with geometric elements suggesting a proximity effectAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. Geometry Proximity returns the distance between a sampled position and the nearest point on the target geometry.
  2. Target element options are faces, edges, and points.
  3. Points mode works with both meshes and point clouds and is generally the fastest option.
  4. The Distance output can be used with a Map Range node to create a falloff.

The Geometry Proximity node in Blender Geometry Nodes can be used to find the nearest corresponding point on target geometry to a position in a 3D scene. In this guide, you’ll learn about the node’s inputs and outputs, see how faces, edges, and points modes differ, and understand the basics of turning distance into a visual transition. We’ll explore example scenarios that can be used in architectural modeling, interior design, and visualization scenes.

Requirements

For this workflow, you need geometry that can be edited with Geometry Nodes in Blender, along with a mesh or point cloud to use as the target. The official manual does not specify a Blender version for the Geometry Proximity node, so a minimum version cannot be given. For the same reason, we won’t describe a specific menu path or interface layout; work from the node’s name and function. The sources also provide no information about account or payment requirements.

It helps to distinguish at least two concepts in your scene: the sample positions where distance is calculated, and the target geometry whose proximity is measured from those positions. For example, if you want an effect that changes as it approaches a facade, you can use the facade as the target and the points whose proximity you want to measure as the sample positions. This is an example of how to think about the inputs, not a specific ready-made node setup.

Step-by-step: Using Geometry Proximity

  1. Choose the target geometry. The Geometry input of the Geometry Proximity node represents the geometry on which the nearest position is searched for. If you’re using a mesh as the target, decide upfront whether the calculation should use its faces, edges, or points. If your target is a point cloud, points mode is the supported option listed in the source manual.

  2. Define the sample positions. The Sample Position input takes the position where the nearest point on the target is to be found. In other words, the node finds the nearest point on the target geometry from this position. In an architectural scene, sample positions might be points on a surface or positions from another geometry; the Geometry Nodes setup you build determines which positions are used.

  3. Choose the target element type. The node’s Target Element property offers Faces, Edges, and Points. Faces calculates the nearest location on the target mesh’s surfaces. Edges searches for the nearest location on the mesh edges. Points finds the nearest point or vertex on the target geometry. According to the source, Points mode is generally the fastest option and can work with both meshes and point clouds; faces and edges modes are available only for meshes.

  4. Use the outputs as needed. The Position output gives the nearest position on the target mesh’s surface; in Points mode, it returns the nearest point on the target point cloud. Distance provides the distance between the sample position and the nearest point as a floating-point value. These outputs do not provide the same information: one is a position, the other a distance value. Use whichever suits the result you’re building.

  5. Create a distance-based transition. If you want to turn the Distance output into a visual effect, the official manual notes that the Map Range node is often used with this output to create a falloff with a maximum distance limit. For example, in an interior model, you could evaluate the effect of areas near a target surface within a limited distance. The goal isn’t to use the same thresholds in every scene, but to map the distance value to a range that can be used by subsequent operations.

  6. Separate groups if needed. Group ID divides the input geometry into groups that can be sampled separately. Sample Group ID determines the group in which the nearest element is searched for. In setups with multiple target groups, carefully check what these inputs select. Even when working with a single target geometry, make sure you understand the group inputs before moving on to a more complex setup.

  7. Check whether the sample is valid. The Is Valid output indicates whether the sampling operation succeeded. According to the manual, the operation can fail when the sampled group is empty. If you’re using groups and don’t get the expected position or distance, check whether the relevant Sample Group ID points to an empty group.

Using Geometry Proximity in architectural and visualization workflows

Geometry Proximity can be used to build proximity-based setups between facade elements, interior components, or point distributions within a scene. For example, you could examine the proximity between furniture and a wall, or create a distance-based transition relative to a surface. These are design scenarios based on the position and distance information provided by the node; the manual does not promise a ready-made architectural tool or automated solution.

Keep in mind that the node’s behavior depends on the selected target type and geometry. Points mode works with both meshes and point clouds, while faces and edges modes require a mesh. Evaluate actual performance in your own file when working with large or dense scenes; the source only states that Points mode is generally the fastest and gives no specific performance figures. The sources also don’t explain licensing or hardware requirements, so verify separately that your Blender installation is compatible with your workflow before starting a project.

Common mistakes

  • Choosing the wrong target type: Faces or edges mode won’t give the expected result with a point cloud; these modes are intended for mesh geometry.

  • Confusing Position with Distance: Position gives the nearest location, while Distance gives the distance from the sample position to that location.

  • Overlooking an empty group: When using groups, an empty sample group can cause sampling to fail. Is Valid helps you check for this.

  • Treating the Distance output as the final effect: Distance produces a numerical value. Using Map Range to create a falloff is one of the approaches recommended in the manual; evaluate the result separately in your scene.

  • Using the same mode for every target: Choose Faces when you need proximity to the surface itself, Edges when you need proximity to edges, and Points when you need proximity to points.

Next steps

Start with a simple mesh target and try each of the three modes separately, comparing the Position and Distance outputs as the sample positions change. Then repeat the test with a point cloud to explore how Points mode works. If you want to use distance for a visual transition, set up the Map Range connection in a separate test setup; checking the result in a small sample scene first makes it easier to find the cause of errors in a complex project. If you need to use groups, include the possibility of an empty group and the Is Valid output in your tests.

Sources and license

This guide was prepared and adapted into Turkish using the “Geometry Proximity Node” page in the Blender Manual and the Geometry Nodes node list. Both sources are licensed under CC BY-SA 4.0. The official manual was used as the reference for the node’s properties and terminology.

Sources

2 sources
D(
docs.blender.org (CC BY-SA 4.0)docs.blender.org/manual/en/latest/modeling/geometry_nodes/geometry/sample/geometry_proximity.html
Summary
D(
docs.blender.org (CC BY-SA 4.0)docs.blender.org/manual/en/latest/modeling/geometry_nodes/index.html
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

Geometry Proximity offers a straightforward building block for proximity-based experiments in architectural and interior scenes: being able to evaluate the nearest position and distance through separate outputs can help you build procedural setups with greater control. Visualization teams working with repeated elements may want to test how they can bring this kind of relationship into their own node setups.

For offices and students in Turkey, the best way to start is to compare all three target modes in a small sample file rather than reworking a large project. The sources don’t specify a particular version, performance figure, cost, or hardware requirement, so avoid making assumptions. Group selection and the possibility of an empty sample should also be checked before moving to a production file.

Frequently asked questions

What does Blender’s Geometry Proximity node do?

It calculates the nearest position on target geometry and the distance between the sample position and that point. Position gives the location, while Distance gives the distance value.

Which target modes are available in the Geometry Proximity node?

The options are Faces, Edges, and Points. Points mode works with meshes and point clouds; faces and edges modes require mesh geometry.

How do you create a distance falloff with Geometry Proximity?

Connect the node’s Distance output to a Map Range node to create a falloff based on a maximum distance. The Blender Manual recommends this workflow.

Comments and the forum are in Turkish.Join the discussion
+

Related news