Subdivide

Subdivides geometry

/**
 * Node that subdivides a mesh while preserving skinning and morph targets.
 * 
 * Increases mesh resolution by splitting triangles, with optional
 * smoothing and reprojection to maintain surface detail.
 * 
 * Usage:
 * 1. Connect source mesh
 * 2. Configure subdivision level and smoothing options
 * 3. Click Apply to subdivide
 */
Parameter
Description

NormalThreshold

float

Threshold for comparing vertex normals when matching or merging vertices.

bSkipMaterialMatching

boolean

If true, material matching is skipped during subdivision or projection.

bIgnoreBoundaryVertices

boolean

If true, boundary vertices are ignored during processing.

SmoothingType

enum

Type of smoothing algorithm to use

SmoothSpeed

float

Speed or intensity of the smoothing operation.

bEnableReproject

boolean

If true, enables reprojection of vertices after subdivision.

ProjectionQuality

integer

Subdivision of the mesh we're projection on. For this mesh we're using opensubdiv. Don't abuse this value, usually 2-3 steps is enough in most cases.

SubdivisionLevel

integer

Number of subdivision steps to apply to the mesh.

bFlat

boolean

If true, applies flat subdivision instead of smooth.

JunctionThreshold

float

Threshold for detecting and handling mesh junctions.

MergeVertexTolerance

float

Tolerance distance for merging close vertices.

Last updated