Nodo Proximidad a geometría

El nodo Proximidad a geometría.

The Geometry Proximity node computes the closest location on the target geometry.

Truco

The Nodo Mapear rango is often helpful to use with the distance output of this node to create a falloff with a maximum distance.

Entradas

Geometría

Entrada estándar de geometría.

ID del grupo

Splits the elements of the input geometry into groups which can be sampled individually.

Posición muestreo

La posición indicada para calcular la ubicación más cercana sobre el objetivo.

ID grupo muestreo

Determinará en qué grupo se detectó la presencia del elemento cercano más próximo.

Propiedades

Geometría objetivo
Caras:

Calculará el punto más cercano en cualquier parte de las caras de la malla de la geometría objetivo.

Bordes:

Calculará el punto más cercano en cualquier parte de los bordes de la malla de la geometría objetivo.

Puntos:

Calculará el punto o vértice más cercano en la geometría objetivo. Este modo será normalmente el más rápido y funcionará tanto para nubes de puntos, como para mallas, los otros modos sólo lo harán con mallas.

Salidas

Posición

Closest location on the surface of the target mesh, or the closest point in the target point cloud in Points mode.

Distancia

Distance (as floating-point value) from the source position to the closest location in the target.

Es válido

Whether the sampling was successful. It can fail when the sampled group is empty.

Ejemplos

The different modes of the node: faces, edges and points. In this example the Geometry Nodes modifier is added on the target plane. Note that the larger plane is subdivided and the smaller plane is not.

../../../../_images/modeling_geometry-nodes_geometry-proximity_modes.png

The three target element modes: faces, edges, and points.

../../../../_images/modeling_geometry-nodes_geometry-proximity_example.png

Points distributed on a sphere used as a target for a distance used in a shader.