radialSlice
filter
radialSlice
RayTK
v0.42
Takes a pie-shaped slice of an SDF around an axis, either removing it or everything except it.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Axis | The axis around which to take the slice. | Runtime | Semi-Baked |
| |||
Angle Mode | How to specify the angles of the slice. | ||
| |||
Center Angle | Center angle of the slice in degrees. | Runtime | Baked |
Angle Width | Width of the slice in degrees. | Runtime | Baked |
Start Angle | Start angle in degrees. | Runtime | Baked |
End Angle | End angle in degrees. | Runtime | Baked |
Invert | Whether to remove just the slice, or remove everything except the slice. | Runtime | Baked |
Enable Smoothing | Whether to smooth the transition on each side of the slice down to a size of zero. | Runtime | Semi-Baked |
Smooth Radius | The amount of smoothing distance. | Runtime | Baked |
Inputs
-
SDF
: (required)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
Center Angle Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
inputOp1
- Coordinate Types:
-
Angle Width Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
inputOp1
centerField
- Coordinate Types:
-
Start Angle Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
inputOp1
- Coordinate Types:
-
End Angle Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
inputOp1
startField
- Coordinate Types: