Skip to main content

Surface Sample

Performs sampling/extraction of surface layer data, such as height, color or normals, storing this information as attributes the actors placed in the same area.

NodeImage_b91f4cb3-e7e9-40db-8fce-6352b88683f5

Tags: Actor, Surface

Parameters#

Inputs [Select]
The surface(s) to be sampled.
Setting a Single (circle) input means that the node will be executed once per surface.
Setting a Collective (square) input means that the node will be executed once for all surfaces. Especially useful when actors are to be placed on the surfaces, but it would be complex to match with the right surface.
Single [Compound] [Adds ports 1]
Processes one Surface entity at a time.
Collective [Compound] [Adds ports 2]
Processes all Surface entities at a time.
Data [Multi-Type List]
The surface layer from which the data should be sampled.
Colors [Compound]
Samples color information from the surface.
Sampling [Choice]
The sampling method. Since there may be several values corresponding to the area of the actor, there are several ways to keep the sampled data:
First means that the first value will be chosen.
Average means that the values will be averaged.
Last means that the last value will be chosen.
List means that all the values will be returned as a list.
Data [Attribute]
Attribute where the sampled data should be stored to.
Heights [Compound]
Samples height information from the surface.
Sampling [Choice]
The sampling method. Since there may be several values corresponding to the area of the actor, there are several ways to keep the sampled data:
First means that the first value will be chosen.
Average means that the values will be averaged.
Last means that the last value will be chosen.
List means that all the values will be returned as a list.
Data [Attribute]
Attribute where the sampled data should be stored to.
Normals [Compound]
Samples normal information from the surface.
Sampling [Choice]
The sampling method. Since there may be several values corresponding to the area of the actor, there are several ways to keep the sampled data:
First means that the first value will be chosen.
Average means that the values will be averaged.
Last means that the last value will be chosen.
List means that all the values will be returned as a list.
Data [Attribute]
Attribute where the sampled data should be stored to.

Inputs#

  • Actor [Collective | Actor]: The actor whose position is to be used for sampling.

Parameter Inputs#

  • [1] Single [Single | Surface]: Processes one Surface entity at a time.
  • [2] Collective [Collective | Surface]: Processes all Surface entities at a time.

Outputs#

  • Surface [Surface]: Surface that was sampled.
  • Actor [Actor]: The actor whose position was used for sampling.