gyroidSdf
Keywords:
- gyroid
- sine
- wave
sdf
gyroidSdf
RayTK
v0.42
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
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Coord Type | Switches between 2D and 3D gyroids. | ||
| |||
Contexttype | Advanced parameter that should usually just be set to | ||
| |||
Translate | Moves the shape as a whole. | Runtime | Baked |
Scale | Spacing of the shape in each dimension. | Runtime | Baked |
Enable Period | Whether to specify periods for the waves. | Baked | Baked |
Period 1 | Period of the first waves on each axis. | Runtime | Baked |
Period 2 | Period of the second waves on each axis. | Runtime | Baked |
Enable Phase | Whether to specify phase shift for the waves. | Baked | Baked |
Phase 1 | Phase shift of the first waves on each axis. | Runtime | Baked |
Phase 2 | Phase shift of the second waves on each axis. | Runtime | Baked |
Bias | Runtime | Baked | |
Thickness | Expands the surfaces producing thicker shapes. | Runtime | Baked |
Inputs
-
Phase 1 Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Phase 2 Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables From Inputs:
phase1Field
- Coordinate Types:
-
Bias Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
phase1Field
phase2Field
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
phase1Field
phase2Field
biasField
- Coordinate Types: