
gridSdf
Keywords:
- bars
- grid
sdf
gridSdf
RayTK
v0.36
An infinite grid shape, along two axes.
Parameters
-
Coord Type
: allows the shape to be used in a 2D context.-
2D
: -
3D
:
-
-
Cross Section Shape
: choose the shape of the bars of the grid. Not available in 2D mode.-
Circle
: -
Diamond
:
-
-
Axis
: choose which axis the grid should face.-
X
: -
Y
: -
Z
:
-
-
Spacing
: spacing between the bars of the grid. If this value is very small and the `Thickness` is high enough, the bars can merge into a solid surface. But if it is set to zero the grid will disappear due to a calculation error. -
Axis Offset
: shifts the grid forwards or backwards along the `Axis` that it is facing. Not available in 2D mode. -
Offset
: shifts the grid along its plane. -
Thickness
: the thickness of the bars. -
: advanced parameter that should usually just be set to `Context`
-
:
-
:
-
:
-
:
-
:
-
-
Pattern
:-
Grid (2D)
: -
Axis 1 Bars
: -
Axis 2 Bars
:
-
Inputs
-
Spacing Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: