
coneSdf
sdf
coneSdf
RayTK
v0.36
Defines a cone or capped cone shape.
Parameters
-
:
-
Shape
: Choose between a regular cone and a capped cone without a tip.-
Cone
: -
Capped Cone
:
-
-
Base Position
: Move the center of the shape. -
Height
: The height of the cone. -
Radius
: The radius of the base of the cone. -
Top Radius
: The radius of the top of the cone, if using a capped cone. -
Axis
:-
X
: -
Y
: -
Z
:
-
-
Mode
:-
Axis and Height
: -
Base and Top Points
:
-
-
Top Position
:
Inputs
-
Base Position Field
: (optional) Value field that can be used to vary the height of the cone.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types:
-
Height Field
: (optional) Value field that can be used to vary the radius (both base and top) of the cone.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Top Position Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
Variables
-
axispos
: -
normoffset
: -
normangle
: