Skip to main content Link Menu Expand (external link) Document Search Copy Copied
gyroidSdf

gyroidSdf

Keywords:
  • gyroid
  • sine
  • wave

Gyroid shape, which is an infinitely connected periodic surface.

The Gyroid is constructed using overlapping sine and cosine waves. See wikipedia for more information.

Parameters

  • Coord Type: Switches between 2D and 3D gyroids.
    • 2D:
    • 3D:
  • : Advanced parameter that should usually just be set to `Context`.
    • :
    • :
    • :
    • :
    • :
  • Translate: Moves the shape as a whole.
  • Scale: Spacing of the shape in each dimension.
  • Enable Period: Whether to specify periods for the waves.
  • Period 1: Period of the first waves on each axis.
  • Period 2: Period of the second waves on each axis.
  • Enable Phase: Whether to specify phase shift for the waves.
  • Phase 1: Phase shift of the first waves on each axis.
  • Phase 2: Phase shift of the second waves on each axis.
  • Bias:
  • Thickness: Expands the surfaces producing thicker shapes.

Inputs

  • Bias Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Thickness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Phase 1 Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Phase 2 Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4