functionGraphRender

functionGraphRender

output
functionGraphRender
RayTK
v0.42

Visualizes the graph of a function operator.

This is intended primarily for use in the Inspector, though there may be other uses. It can take in multiple function inputs, which it will visualize with different colors of lines in the same graph.

It provides several outputs:

  • Color - The rendered graph line.
  • GUI - The graph line along with axes and range markers.

Parameters

Name Description Regular Handling Read-Only Handling
Resolution

The rendering resolution.

Domain Low

The low bound of the domain (x axis).

Runtime Baked
Domain High

The high bound of the domain (x axis).

Runtime Baked
Range Low

The low bound of the range (y axis).

Runtime Baked
Range High

The high bound of the range (y axis).

Runtime Baked
Line Thickness

Thickness of the graph line.

Runtime Baked
Line Blending

Amount of blending applied to the edges of the graph line.

Runtime Baked
Show Axis Labels

Whether to show axis labels in the GUI output.

Timereferenceoperator
Shader Builder Config
Shaderinfo
Shadercode
Shadertop
Outputtable
Shaderbuilder
Resolution
Pixel Format
  • Use Input:
  • 8-bit fixed (RGBA):
  • sRGB 8-bit fixed (RGBA):
  • 16-bit float (RGBA):
  • 32-bit float (RGBA):
  • _separator_:
  • 10-bit RGB, 2-bit Alpha, fixed (RGBA):
  • 16-bit fixed (RGBA):
  • 11-bit float (RGB), Positive Values Only:
  • 16-bit float (RGB):
  • 32-bit float (RGB):
  • 8-bit fixed (Mono):
  • 16-bit fixed (Mono):
  • 16-bit float (Mono):
  • 32-bit float (Mono):
  • 8-bit fixed (RG):
  • 16-bit fixed (RG):
  • 16-bit float (RG):
  • 32-bit float (RG):
  • 8-bit fixed (A):
  • 16-bit fixed (A):
  • 16-bit float (A):
  • 32-bit float (A):
  • 8-bit fixed (Mono+Alpha):
  • 16-bit fixed (Mono+Alpha):
  • 16-bit float (Mono+Alpha):
  • 32-bit float (Mono+Alpha):
Show Axes
Time Reference Operator
Customize Shader Config

Inputs

  • Function 1: (optional)
    • Coordinate Types: float
    • Context Types: Context
    • Return Types: float vec4
  • Function 2: (optional)
    • Coordinate Types: float
    • Context Types: Context
    • Return Types: float vec4
  • Function 3: (optional)
    • Coordinate Types: float
    • Context Types: Context
    • Return Types: float vec4
  • Function 4: (optional)
    • Coordinate Types: float
    • Context Types: Context
    • Return Types: float vec4