Graph Preview
Important UX knowledge for previewing node outputs.
Important UX knowledge for previewing node outputs.
When a graph is created and first opened, there are no nodes and the preview is therefore inactive. Once nodes have been placed, right-click any node and click "Preview this node". The preview window in the top-left of the graph editor will update to show the data from the selected node. A red dot will appear on the node to indicate it's being previewed.
Note that the selected pin and the type of preview can be changed in the Preview Settings panel, which is by default located in the same place as the Details panel as another tab. This also allows you to change whether the preview for a given node is automatically normalized or not.
The preview window has several controls at the top. Their respective functions, as numbered in the above image, are:
These three buttons control which axis the world is viewed from, th X, Y or Z plane. This can be useful when getting trying to get a view of volumetric terrain shapes. For 2D data, keeping it on the Z plane, the third option, is best.
To reset the view to world origin. This is useful if the preview is very far from origin, and needs to be brought back.
To toggle preview normalization. This takes the lowest and highest value computed for the preview, and remaps them to 0 and 1 in the final image. This should be disabled when trying to preview absolute values, but is very useful for previewing terrain height and noise, as these are generally large values which go lower than 0 and higher than 1.
Controls the resolution at which the preview is rendered. Lower resolutions give higher performance as the preview is moved around, but will look grainy when the preview is large on-screen.
This slider applies an offset along the current axis, this can be useful when previewing densities, as it allows you to easily visualize where the surface is across a few vertical slices of the terrain.
Hovering over the preview will show the value underneath the mouse position as tooltip.,
By default, the preview window has a ruler in the bottom-left. Additionally, holding middle-mouse button will create a distance measurement between two points on the preview.