Houdini 21.0 Nodes Geometry nodes

Labs Biome Region Assign (Beta) 1.1 geometry node

Delineates biome regions for the Biome Toolset workflow.

Using Labs' Biome workflow, this node creates separate regions and apply defined biomes to the created regions. Biome names and attributes are defined using Labs Biome Define SOP.

There are five distinct ways to create biome regions using this node:

Image: creates biome regions based on distinct colors from an image file, such as JPG, PNG, EXR, TIF file types, or a COP network.

Geometry Attribute: creates biome regions based on a specified primitive attribute on a proximal mesh. Supports string, integer, and float values, but float values will be clamped to integer values.

Heightfield Layers: creates biome regions based on density values of separate heightfield layers.

PSD File: creates biome regions based on separate layers of a Photoshop file. Unlike the Image option, this is based on the presence of data on the specified layers and is not determined by color.

Curves: creates biome regions based on Houdini input curves. Options exist to separate curves by connectivity, a specified attribute, or through Labs Biome Curve Label SOP.

Parameters

Display

Guide Geometry: Visualizes the biome regions and their placement with color-coded geometry.

Final HeightField Layers: Visualizes the actual output volumes fed into Labs Biome Attributes to Terrain SOP.

Biome Regions

Regions From

Image: creates biome regions based on distinct colors from an image file, such as JPG, PNG, EXR, TIF file types, or a COP network.

Geometry Attribute: creates biome regions based on a specified primitive attribute on a proximal mesh. Supports string, integer, and float values, but float values will be clamped to integer values.

Heightfield Layers: creates biome regions based on density values of separate heightfield layers.

PSD File: creates biome regions based on separate layers of a Photoshop file. Unlike the Image option, this is based on the presence of data on the specified layers and is not determined by color.

Curves: creates biome regions based on Houdini input curves. Options exist to separate curves by connectivity, a specified attribute, or through Labs Biome Curve Label SOP.

Image Import Settings

Image Source

File: Image source is an image file.

COP Network: Image source is a COP network.

Reload Image

Reloads the image specified in the file path and recooks the network.

File Path

File path to the specified image.

COP Network Path

Network path to the specified COP network.

Color Clusters

Number of colors/regions to extract from the image. Will extract the largest concentrations of color first.

Advanced

Sample Resolution

Source Image Resolution: Uses the image’s native resolution.

Specified Resolution: Resamples the image into the specified resolution. Using a smaller resolution results in faster calculation times.

Specified Resolution

The resolution to resample the input image to in X, Y pixel dimensions.

Sample Color Space

Automatic: Automatically selects the image color space.

Linear: Uses a linear color space for the image.

Cluster Iterations

Higher numbers give more accurate clustering but take longer to compute. See Curve SOP for more clustering information.

Refine Region Borders

Consolidates nearby primitives into larger clusters. Reduces jagged and irregular region borders.

Refine Iterations

Number of iterations to attempt to consolidate stray primitive regions.

Refine Distance

Relative distance to search for primitives to consolidate.

Geometry Attributes

Attribute Name

Name of the primitive geometry attribute to extract regions from. Uses unique attribute values to section out different region areas. Accepts string, integer, and float types, but float values will be clamped to integers to determine unique values.

Photoshop File

File

Path to Photoshop file.

Reload PSD

Reloads the Photoshop file.

Curve Import Settings

Generate Region Per

Connected Curves: Generates regions based on each individual curve.

Unique Curve Primitive ID: Generates regions based on unique curve attribute values.

Biome Curve Label: Uses Labs Biome Curve Label SOP to directly assign biome definitions to a curve or group of curves.

Curve ID Attribute

Name of the primitive geometry attribute to extract regions from. Uses unique attribute values to section out different region areas. Accepts string, integer, and float types, but float values will be clamped to integers to determine unique values.

Create Curve Label Node

Automatically creates a Labs Biome Curve Label SOP and wires in necessary inputs that are shared with this node.

Region Assignment

Recreate Region List

Automatically generates a list of regions based on number of image clusters / unique attribute values / number of PSD layers / etc. based on the input type selected and auto-assigns biome definitions to each generated region.

Reset Parameters

When enabled, will reset the biome definitions assigned to each region.

Match Size to Terrain

Scales the biome regions to fit within the boundaries of the input terrain. Disable to show manual transformation controls.

Match Biome Definitions to Layers

Matches Heightfield layers and biome definitions automatically if they are named exactly the same. Treats underscores and spaces as the same character.

Number of Regions

Layer Name

Name of the layer to assign this region.

Attribute Value

The unique attribute value to assign this region.

Biome Name

Name of the Biome Definition to assign to this region.

Sort Order

The priority to assign to the associated region(s). A lower number will give the biome greater priority when resolving overlapping regions, putting it on top of regions with higher values. Biomes with the same value will have their biome attributes averaged.

Visualization Color

Color applied to the Guide Geometry for visualization purposes.

Advanced Photoshop Region Settings

See Labs Trace PSD File SOP for more information.

Resample Step

Distance in resampling the curve.

Inline Point Threshold

Tolerance for removing inline points.

Shrink UVs

Shrinks the UVs on the curves in order to better sample the interior colors of the image. Sometimes the curves can sit too close to the border and the UVs pick out the color of the background.

Shape

Optionally, also Shrink or Expand the shape itself.

Size

Distance of how much to Shrink or Expand the shape.

Output HeightFields

Division Mode

Sets the volume resolution by number of samples or spacing distance.

Grid Samples

The number of grid points along each axis, when Division mode is By Axis.

Grid Spacing

The space between grid points, in meters, when Division mode is By Size.

Size

Sets the size of the output Heightfield if no terrain source is specified.

See also

Geometry nodes