New OmniGraph nodes in Create 2022.3
Overview
The release of Create 2022.3 brings with it a lot of new and exciting OmniGraph nodes that you can use for animation, physics, curves, UI and lots more! Check out the full list of new nodes below!
Animation
AnimCurve
Evaluates curve animation
AnimationGraphUpdate
Update Animation Graph
UnpackAnimationGraphPoseBundle
Unpack Animation Graph Pose Bundle as skeleton hierarchy
FlowUSD
FlowBlocks
Flow block count
FlowSimTime
Node exposing simulation time to OG
Curve
PushoutCurvePoints
Sample points along curves in the input curvesBundle. When a range of these points falls within the bounding sphere / box of the prims within the collisionBundle, this node attempts to push those subsections of points outside the bounding volume in some reasonable way. This node outputs two bundles: a pointsBundle that contains one prim per polyline containing the displaced points of that polyline, and a curvesBundle that contains curve prims fit to those displaced points.
Event
OnLoaded
Triggers the output on the first update of the graph after it is created or loaded. This will run before any other event node, and will only run once after this node is created.
Flow Control
SwitchToken
Outputs an execution pulse along a branch which matches the input token. For example if inputs:value is set to ‘A’ it will continue downstream from outputs:outputNN if there is an inputs:branchNN that is set to ‘A’
Math
Ceil
Computes the ceil of the given decimal number a, which is the smallest integral value greater than a
ToUint64
Converts the given input to a 64 bit unsigned integer of the same shape. Negative integers are converted by adding them to 2**64, decimal numbers are truncated.
Function
EndsWith
Determines if a string ends with a given string value
StartsWith
Determines if a string starts with a given string value
SlangNode
Compute node compiling and executing slang code
Bundle
ExtractBundle
Exposes readable attributes for a bundle as outputs on this node. When this node computes it will read the latest attribute values from the target bundle into these node attributes
Scene Graph
GraphTarget
Access the target prim the graph is being executed on. If the graph is executing itself, this will output the prim path of the graph. Otherwise the graph is being executed via instancing, then this will output the prim path of the target instance.
ReadOmniGraphValue
Imports a data value from the Fabric cache that is located at the given path and attribute name. This is for data that is not already present in OmniGraph as that data can be accessed through a direct connection to the underlying OmniGraph node.
UI
Button
Create a button widget on the Viewport
ComboBox
Create a combo box widget on the Viewport
OnWidgetClicked
Event node which fires when a UI widget with the specified identifier is clicked. This node should be used in combination with UI creation nodes such as OgnButton.
OnWidgetValueChanged
Event node which fires when a UI widget with the specified identifier has its value changed. This node should be used in combination with UI creation nodes such as OgnSlider.
Placer
Contruct a Placer widget. The Placer takes a single child and places it at a given position within it.
ReadWidgetProperty
Read the value of a widget’s property (height, tooltip, etc).
ReadWindowSize
Outputs the size of a UI window.
Slider
Create a slider widget on the Viewport
Spacer
A widget that leaves empty space.
VStack
Contruct a Stack on the Viewport. All child widgets of Stack will be placed in a row, column or layer based on the direction input.
WriteWidgetProperty
Set the value of a widget’s property (height, tooltip, etc).
WriteWidgetStyle
Sets a widget’s style properties. This node should be used in combination with UI creation nodes such as Button.
Omni PhysX Scene Queries
SceneQueryOverlapBoxAll
Returns a list of prim paths of all colliders that overlap the input box.
SceneQueryOverlapBoxAny
Checks whether any colliders overlap the query input box.
SceneQueryOverlapPrimAll
Returns a list of prim paths of all colliders that overlap the input Prim.
SceneQueryOverlapPrimAny
Checks whether any colliders overlap the query input Prim.
SceneQueryOverlapSphereAll
Returns a list of prim paths of all colliders that overlap the input sphere.
SceneQueryOverlapSphereAny
Checks whether any colliders overlap the query input sphere.
SceneQueryRaycastAll
Returns a list of prim paths of all colliders that are hit by the input ray.
SceneQueryRaycastAny
Returns whether any colliders are hit by the input ray.
SceneQueryRaycastClosest
Finds the closest collider that is hit by the input ray.
SceneQuerySweepSphereAll
Returns a list of prim paths of all colliders that are hit by the input ray.
SceneQuerySweepSphereAny
Returns whether any colliders are hit by the input ray.
SceneQuerySweepSphereClosest
Finds the closest collider that is hit by the input ray.
Omni PhysX Vehicles
VehicleGetDriveState
Retrieving drive related simulation state of an omni.physx vehicle. Note: the simulation must be running if this node is evaluated, else the resulting behavior will be undefined.
VehicleGetWheelState
Retrieving wheel related simulation state of an omni.physx vehicle. Note: the simulation must be running if this node is evaluated, else the resulting behavior will be undefined.
Synthetic Data Generation
SdInstanceMapping
Synthetic Data node to expose the scene instances semantic hierarchy information
SdInstanceMappingPtr
Synthetic Data node to expose the scene instances semantic hierarchy information
SdLinearArrayToTexture
Synthetic Data node to copy the input buffer array into a texture for visualization
SdOnNewFrame
Synthetic Data postprocess node to execute pipeline after the NewFrame event has been received
SdOnNewRenderProductFrame
Synthetic Data postprocess node to execute pipeline after the NewFrame event has been received on the given renderProduct
SdPostInstanceMapping
Synthetic Data node to compute and store scene instances semantic hierarchy information
SdRenderProductCamera
Synthetic Data node to expose the camera data
SdRenderVarToRawArray
Synthetic Data action node to copy the input rendervar into an output raw array
SdSemanticFilter
Synthetic Data node to declare a semantic filter.
SdSimInstanceMapping
Synthetic Data node to update and cache the instance mapping data
SdSimRenderProductCamera
Synthetic Data node to expose the renderProduct camera in the fabric
SdTextureToLinearArray
SyntheticData node to copy the input texture into a linear array buffer