Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Mesh

Mesh

Updated: 12 Dec 2024

Generates a 3D Object for a procedural.

image

image

Method #

This node generates a distance field from a mesh object. Useful for converting a mesh into a procedural, as a basis for further processing.

Nodes connected to this node will generally follow the parent child hierarchy. Other Procedural Generator nodes can be configured to combine with this shape using their CSG modes, and displacement nodes will only apply to this shape.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Distance OffsetOffsets the distance field values, causing the generated distance field to expand of contract.
Filled ModeThickness of the Shell wall, when Filled Mode is set to Shell.
Shell ThicknessThickness of the Shell wall, when Filled Mode is set to Shell.
SDF Width/ Height / DepthResolution of the distance field.
Generate ColoursColours are generated for the procedural by sampling the first texture of the material assigned to the input object. this requires affect colour to be enabled and for the procedural renderer to support colour generation.
Generate UVsThis feature is in development
Animate SDFWhen enabled, the procedural will be re-generated on every frame. use if the source mesh is animating.
CSG ModeThese options change how a this procedural node combines with the existing of the procedural system.
  • Replace : Replaces the previous procedural system with a new procedural shape.
  • Union : Simply combines both the new procedural shape and the existing procedural system.
  • Intersection : Interesects the new shape with the shape before.
  • Subtract : Subtracts the new procedural shape from the existing procedural system.
  • Blend : Blends between both the new procedural shape and the existing procedural system, driven by the CSG Blend Weight.
  • Union Blend : A combination of union and blend which tries to preserve both objects more, with the blending being driven by the CSG Blend Weight.
  • Smooth Union : The new procedural is added to the old, and smoothing (driven by the CSG Blend Weight) is applied to the outcome.
  • Smooth Subtract : The new procedural shape is subtracted from the existing procedural system, and smoothing (driven by the CSG Blend Weight) is applied to the outcome.
  • Offset : Blends one procedural ontop of the other another withing the area of the original procedural system.
  • Custom Code : Allows you to enter your own expression code.
CSG Blend WeightHow much the new procedural blends with the old procedurals, depending on the CSG Blend Weight.
Affect ColourAffect the colour of the generated procedural system. only functions with ‘Generate Colours’ enabled in some Procedural Render nodes.
Always Enabled (No Time Bars)When enabled, this node will run regardless of time bar enable/disable. Due to how Notch handles shader generation with procedurals, with this enabled the node runs more efficiently.
Material ColourModify the colour for the procedural material.
Custom CSG CodeType your Custom code here, using the HLSL language. Read more on Editable Code.

Inputs

NameDescriptionTypical Input
Object NodeMesh used for the generated procedural.ERROR: Variable not found: {input-node-particles-object-node-typical-input}
Bounds OverrideUsually the mesh object’s bounding box will be used for generating the procedural, but it can be over-ridden here.Bounding Box
Transform ModifiersApply the transforms of another node to this node.Null
Target NodeModifiy the rotations of the node to always direct the z axis towards the input.Null
Local Transform OverrideApply the transforms of another node to this node, relative to its parent.Null