composeSdf

beta

Combine multiple SDFs using different combination modes into a single SDF.

This is essentially a replacement for long chains of combine operators. Once you’ve set up all the inputs and combine modes, switch on the Optimize setting which will compile down the generated code so that it runs much faster, but will make changes to settings much slower.

Parameters

Name Description Regular Handling Read-Only Handling
Optimize
Enable 1
Input 1
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 1
Combine 1
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 1
Number 1
Offset 1
Enable 2
Input 2
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 2
Combine 2
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 2
Number 2
Offset 2
Enable 3
Input 3
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 3
Combine 3
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 3
Number 3
Offset 3
Enable 4
Input 4
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 4
Combine 4
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 4
Number 4
Offset 4
Enable 5
Input 5
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 5
Combine 5
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 5
Number 5
Offset 5
Enable 6
Input 6
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 6
Combine 6
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 6
Number 6
Offset 6
Enable 7
Input 7
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 7
Combine 7
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 7
Number 7
Offset 7
Enable 8
Input 8
  • Input 1:
  • Input 2:
  • Input 3:
  • Input 4:
  • Input 5:
  • Input 6:
  • Input 7:
  • Input 8:
Translate 8
Combine 8
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
Radius 8
Number 8
Offset 8

Inputs

  • SDF 1: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 2: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 3: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 4: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 5: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 6: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 7: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • SDF 8: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf