View & accessibility
Thumbnails
Motion
Bforartists
5.1
Editors

Add Menu - Geometry - Sample

Here you find nodes to modify the geometry.

2
 min read
Up to date for 
5.1
draft

Add menu - Geometry - Sample

Add menu - Geometry - Sample
Add menu - Geometry - Sample

Here you find nodes to modify the geometry.

Geometry Proximity

Geometry Proximity

This node finds the closest position on the target for each point in the input geometry.

Inputs

EntryWhat it does
GeometryThe target object.
Group IDIs evaluated on the face domain, and splits the input mesh into multiple parts, each with its own id.
Sample PositionThe position where the computed location is stored.
Sample Group IDDetermines in which group the closest nearest surface is detected.

Properties

Target Geometry
Target Geometry

The element of the target geometry to calculate the distance from.

Outputs

EntryWhat it does
PositionClosest location on the surface of the target mesh, or the closest point in the target point cloud in Points mode.
DistanceDistance from the source position to the closest location in the target.
Is ValidWether the sampling was successful. It is false when the sampled group is empty.

Index of Nearest

Index of Nearest

Retreive values from specific geometry elements.

EntryWhat it does
InputsPosition: The position of the nearest element. · Group ID: The group ID of the nearest element.
OutputsIndex: The Index of the nearest element. · Has Neighbor: Has this element a neighbor.

Raycast

Raycast

This node sends a raycast and retreives data from the hit target.

Inputs

EntryWhat it does
Target GeometryThis is actually the source object that sends the ray.
AttributeAttribute input.
Interpolation
Interpolation

Mapping from the target geometry to hit points.

EntryWhat it does
Source PositionSource position input.
Ray DirectionA vector 3 for the ray direction.
Ray LengthThe length of the ray.

Properties

Data Type
Data Type

What data to calculate on hit.

Output

EntryWhat it does
Is HitHas the raycast hit something?
Hit PositionThe hit position if any.
Hit NormalThe normal of the hit point.
Hit DistanceThe distance of the hit point.
AttributeThe attribute of the hit object.

Sample Index

Sample Index

Retreive values from specific geometry elements.

Inputs

EntryWhat it does
GeometryThe source object to take the data from.
ValueThe value to retreive.
IndexThe index position of the value.

Properties

Data Type
Data Type

The type for the source and result data.

Domain
Domain

What kind of data to process.

Clamp

Clamp the indices to the size of the attribute domain.

Output

Value

The output value.

Sample Nearest

Sample Nearest

Retreives the element of a geometry closest to a position.

Inputs

EntryWhat it does
GeometryThe source object to take the data from.
Sample PositionThe position of the source object.

Properties

Properties
Domain

What data to process.

Output

Index

The index output.